diff --git a/deployments/helm/KubeArmor/templates/deployment.yaml b/deployments/helm/KubeArmor/templates/deployment.yaml index b6ed02d5c1..13d3466c3b 100644 --- a/deployments/helm/KubeArmor/templates/deployment.yaml +++ b/deployments/helm/KubeArmor/templates/deployment.yaml @@ -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}} diff --git a/deployments/helm/KubeArmor/values.yaml b/deployments/helm/KubeArmor/values.yaml index 1ee45d5cdf..40793ed7b5 100644 --- a/deployments/helm/KubeArmor/values.yaml +++ b/deployments/helm/KubeArmor/values.yaml @@ -83,6 +83,7 @@ kubearmorController: repository: kubearmor/kubearmor-controller # kubearmor-controller image tag tag: latest + logLevel: info mutation: # kubearmor-controller failure policy failurePolicy: Ignore