Skip to content

Commit

Permalink
feat(helm): allow to set log level in controller
Browse files Browse the repository at this point in the history
  • Loading branch information
carlosrodfern committed Sep 27, 2024
1 parent 3461707 commit 45e61f7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions deployments/helm/KubeArmor/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ spec:
- --health-probe-bind-address=:8081
- --metrics-bind-address=127.0.0.1:8080
- --leader-elect
- --zap-log-level={{ .Values.kubearmorController.logLevel }}
command:
- /manager
image: {{printf "%s:%s" .Values.kubearmorController.image.repository .Values.kubearmorController.image.tag}}
Expand Down
1 change: 1 addition & 0 deletions deployments/helm/KubeArmor/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@ kubearmorController:
repository: kubearmor/kubearmor-controller
# kubearmor-controller image tag
tag: latest
logLevel: info
mutation:
# kubearmor-controller failure policy
failurePolicy: Ignore
Expand Down

0 comments on commit 45e61f7

Please sign in to comment.