Skip to content

Commit b7438eb

Browse files
authored
fix(controller): configure agent log level (#30)
1 parent 364a48f commit b7438eb

File tree

3 files changed

+5
-2
lines changed

3 files changed

+5
-2
lines changed

charts/controller/Chart.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,10 @@ type: application
1515
# This is the chart version. This version number should be incremented each time you make changes
1616
# to the chart and its templates, including the app version.
1717
# Versions are expected to follow Semantic Versioning (https://semver.org/)
18-
version: 0.2.1
18+
version: 0.2.2
1919

2020
# This is the version number of the application being deployed. This version number should be
2121
# incremented each time you make changes to the application. Versions are not expected to
2222
# follow Semantic Versioning. They should reflect the version the application is using.
2323
# It is recommended to use it with quotes.
24-
appVersion: "v0.2.0"
24+
appVersion: "v0.2.1"

charts/controller/templates/deployment.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,8 @@ spec:
3737
key: {{ include "controller.endpoint.secretKey" . }}
3838
- name: SEMAPHORE_AGENT_IMAGE
3939
value: "{{ .Values.agent.image }}:{{ .Values.agent.version }}"
40+
- name: SEMAPHORE_AGENT_LOG_LEVEL
41+
value: "{{ .Values.agent.logLevel }}"
4042
- name: SEMAPHORE_AGENT_STARTUP_PARAMETERS
4143
value: "{{ include "controller.agent.startupParameters" . }}"
4244
- name: KUBERNETES_SERVICE_ACCOUNT

charts/controller/values.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ imagePullPolicy: IfNotPresent
1818
agent:
1919
image: semaphoreci/agent
2020
version: v2.2.28
21+
logLevel: "info"
2122

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

0 commit comments

Comments
 (0)