From 31b444dedebde467d8d3f22415e0b5e23824e9aa Mon Sep 17 00:00:00 2001 From: Angel Kafazov Date: Thu, 13 Feb 2025 15:31:08 +0200 Subject: [PATCH] add logLevel to account-operator env On-behalf-of: @SAP angel.kafazov@sap.com Signed-off-by: Angel Kafazov --- charts/account-operator/templates/deployment.yaml | 1 + .../tests/__snapshot__/deployment_test.yaml.snap | 6 ++++++ 2 files changed, 7 insertions(+) diff --git a/charts/account-operator/templates/deployment.yaml b/charts/account-operator/templates/deployment.yaml index 5a02d8425..c106a3df8 100644 --- a/charts/account-operator/templates/deployment.yaml +++ b/charts/account-operator/templates/deployment.yaml @@ -46,6 +46,7 @@ spec: {{- include "common.operatorHealthAndReadyness" . | nindent 10 -}} {{- include "common.resources" . | nindent 10 }} env: + {{- include "common.basicEnvironment" . | nindent 10 }} - name: SUBROUTINES_NAMESPACE_ENABLED value: "{{ .Values.subroutines.namespace.enabled }}" - name: SUBROUTINES_FGA_ENABLED diff --git a/charts/account-operator/tests/__snapshot__/deployment_test.yaml.snap b/charts/account-operator/tests/__snapshot__/deployment_test.yaml.snap index 3f9a1c9fb..31b037a27 100644 --- a/charts/account-operator/tests/__snapshot__/deployment_test.yaml.snap +++ b/charts/account-operator/tests/__snapshot__/deployment_test.yaml.snap @@ -301,6 +301,8 @@ operator match the snapshot: - --leader-elect - --health-probe-bind-address=:8081 env: + - name: LOG_LEVEL + value: info - name: SUBROUTINES_NAMESPACE_ENABLED value: "true" - name: SUBROUTINES_FGA_ENABLED @@ -758,6 +760,8 @@ operator match the snapshot (with kubeconfigSecret): - --leader-elect - --health-probe-bind-address=:8081 env: + - name: LOG_LEVEL + value: info - name: SUBROUTINES_NAMESPACE_ENABLED value: "true" - name: SUBROUTINES_FGA_ENABLED @@ -1218,6 +1222,8 @@ operator match the snapshot with webhook enabled: - --leader-elect - --health-probe-bind-address=:8081 env: + - name: LOG_LEVEL + value: info - name: SUBROUTINES_NAMESPACE_ENABLED value: "true" - name: SUBROUTINES_FGA_ENABLED