Skip to content

Commit

Permalink
feat(helm): allow to set log level in operator
Browse files Browse the repository at this point in the history
Signed-off-by: Carlos Rodriguez-Fernandez <[email protected]>
  • Loading branch information
carlosrodfern committed Sep 10, 2024
1 parent bed86b5 commit 3461707
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
4 changes: 2 additions & 2 deletions deployments/helm/KubeArmorOperator/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ 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: v1.4.0
version: v1.4.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: v1.4.0
appVersion: v1.4.2
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ spec:
# initDeploy flag is only supported from v1.4.0
args:
- --initDeploy={{.Values.kubearmorOperator.initDeploy }}
- --loglevel={{.Values.kubearmorOperator.logLevel}}
{{- end }}

serviceAccountName: {{ .Values.kubearmorOperator.name }}
Expand Down
2 changes: 2 additions & 0 deletions deployments/helm/KubeArmorOperator/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,8 @@ kubearmorOperator:
tag: ""
imagePullPolicy: IfNotPresent
initDeploy: true
logLevel: info


kubearmorConfig:
defaultCapabilitiesPosture: audit
Expand Down

0 comments on commit 3461707

Please sign in to comment.