Skip to content

Commit

Permalink
fix(controller): configure agent log level (#30)
Browse files Browse the repository at this point in the history
  • Loading branch information
lucaspin authored Dec 19, 2024
1 parent 364a48f commit b7438eb
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
4 changes: 2 additions & 2 deletions charts/controller/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 0.2.1
version: 0.2.2

# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
# follow Semantic Versioning. They should reflect the version the application is using.
# It is recommended to use it with quotes.
appVersion: "v0.2.0"
appVersion: "v0.2.1"
2 changes: 2 additions & 0 deletions charts/controller/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,8 @@ spec:
key: {{ include "controller.endpoint.secretKey" . }}
- name: SEMAPHORE_AGENT_IMAGE
value: "{{ .Values.agent.image }}:{{ .Values.agent.version }}"
- name: SEMAPHORE_AGENT_LOG_LEVEL
value: "{{ .Values.agent.logLevel }}"
- name: SEMAPHORE_AGENT_STARTUP_PARAMETERS
value: "{{ include "controller.agent.startupParameters" . }}"
- name: KUBERNETES_SERVICE_ACCOUNT
Expand Down
1 change: 1 addition & 0 deletions charts/controller/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ imagePullPolicy: IfNotPresent
agent:
image: semaphoreci/agent
version: v2.2.28
logLevel: "info"

# By default, the controller creates a pod spec which will be used
# if no pod spec are specified in the agent types secret.
Expand Down

0 comments on commit b7438eb

Please sign in to comment.