From 1f5fa4697a83aee9b3ae7dda4377f033962c9fda Mon Sep 17 00:00:00 2001 From: Angel Kafazov Date: Thu, 13 Feb 2025 10:12:20 +0200 Subject: [PATCH] use default logLevel in account-operator On-behalf-of: @SAP angel.kafazov@sap.com Signed-off-by: Angel Kafazov --- charts/account-operator/README.md | 1 - charts/account-operator/templates/deployment.yaml | 1 - .../tests/__snapshot__/deployment_test.yaml.snap | 3 --- charts/account-operator/values.yaml | 2 -- 4 files changed, 7 deletions(-) diff --git a/charts/account-operator/README.md b/charts/account-operator/README.md index be890d626..8804ebb8f 100644 --- a/charts/account-operator/README.md +++ b/charts/account-operator/README.md @@ -23,7 +23,6 @@ A Helm chart to deploy OpenMFP Account-Operator | kcp.enabled | bool | `false` | Enable KCP | | kcp.virtualWorkspaceUrl | string | `""` | The URL for the virtual workspace | | kubeconfigSecret | string | `""` | The secret for kubeconfig | -| logLevel | string | `"warn"` | The log level | | security.mountServiceAccountToken | bool | `true` | Mount the service account token | | subroutines.extension.enabled | bool | `true` | Enable extension subroutines | | subroutines.extensionReady.enabled | bool | `true` | Enable extension ready subroutines | diff --git a/charts/account-operator/templates/deployment.yaml b/charts/account-operator/templates/deployment.yaml index 334845ac1..5a02d8425 100644 --- a/charts/account-operator/templates/deployment.yaml +++ b/charts/account-operator/templates/deployment.yaml @@ -32,7 +32,6 @@ spec: - args: - operator - --leader-elect - - --log-level={{ .Values.logLevel }} - '--health-probe-bind-address=:{{ include "common.getKeyValue" (dict "Values" .Values "key" "health.port") }}' image: {{ .Values.image.name }}:{{ .Chart.AppVersion }} name: manager diff --git a/charts/account-operator/tests/__snapshot__/deployment_test.yaml.snap b/charts/account-operator/tests/__snapshot__/deployment_test.yaml.snap index 4f6197e3c..3f9a1c9fb 100644 --- a/charts/account-operator/tests/__snapshot__/deployment_test.yaml.snap +++ b/charts/account-operator/tests/__snapshot__/deployment_test.yaml.snap @@ -299,7 +299,6 @@ operator match the snapshot: - args: - operator - --leader-elect - - --log-level=warn - --health-probe-bind-address=:8081 env: - name: SUBROUTINES_NAMESPACE_ENABLED @@ -757,7 +756,6 @@ operator match the snapshot (with kubeconfigSecret): - args: - operator - --leader-elect - - --log-level=warn - --health-probe-bind-address=:8081 env: - name: SUBROUTINES_NAMESPACE_ENABLED @@ -1218,7 +1216,6 @@ operator match the snapshot with webhook enabled: - args: - operator - --leader-elect - - --log-level=warn - --health-probe-bind-address=:8081 env: - name: SUBROUTINES_NAMESPACE_ENABLED diff --git a/charts/account-operator/values.yaml b/charts/account-operator/values.yaml index 27b856fe1..4c7d7b27d 100644 --- a/charts/account-operator/values.yaml +++ b/charts/account-operator/values.yaml @@ -47,8 +47,6 @@ subroutines: # -- The secret for kubeconfig kubeconfigSecret: "" -# -- The log level -logLevel: warn security: # -- Mount the service account token