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 Aug 21, 2024
1 parent bed86b5 commit ccfb0c6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
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 ccfb0c6

Please sign in to comment.