From 1804918ebb7cccd5302d5df3c3df0e26236f7e99 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marko=20Luk=C5=A1a?= Date: Fri, 11 Oct 2024 19:14:58 +0200 Subject: [PATCH] Add operatorLogLevel to Operator Helm chart (#410) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Marko Lukša --- bundle/manifests/sailoperator.clusterserviceversion.yaml | 3 ++- chart/templates/deployment.yaml | 1 + chart/values.yaml | 2 ++ 3 files changed, 5 insertions(+), 1 deletion(-) diff --git a/bundle/manifests/sailoperator.clusterserviceversion.yaml b/bundle/manifests/sailoperator.clusterserviceversion.yaml index c6976f26f..660d28bc0 100644 --- a/bundle/manifests/sailoperator.clusterserviceversion.yaml +++ b/bundle/manifests/sailoperator.clusterserviceversion.yaml @@ -34,7 +34,7 @@ metadata: capabilities: Seamless Upgrades categories: OpenShift Optional, Integration & Delivery, Networking, Security containerImage: quay.io/maistra-dev/sail-operator:0.2-latest - createdAt: "2024-10-11T14:52:21Z" + createdAt: "2024-10-11T11:23:10Z" description: Experimental operator for installing Istio service mesh features.operators.openshift.io/cnf: "false" features.operators.openshift.io/cni: "true" @@ -663,6 +663,7 @@ spec: - args: - --health-probe-bind-address=:8081 - --metrics-bind-address=127.0.0.1:8080 + - --zap-log-level=info - --default-profile=openshift command: - /sail-operator diff --git a/chart/templates/deployment.yaml b/chart/templates/deployment.yaml index bd8bb0d1e..7a6820bb6 100644 --- a/chart/templates/deployment.yaml +++ b/chart/templates/deployment.yaml @@ -77,6 +77,7 @@ spec: - args: - --health-probe-bind-address=:8081 - --metrics-bind-address=127.0.0.1:8080 + - --zap-log-level={{ .Values.operatorLogLevel }} {{- if eq .Values.platform "openshift" }} - --default-profile=openshift {{- end }} diff --git a/chart/values.yaml b/chart/values.yaml index c0e33b8f1..d26e83ca7 100644 --- a/chart/values.yaml +++ b/chart/values.yaml @@ -6,6 +6,8 @@ service: port: 8443 serviceAccountName: sail-operator +operatorLogLevel: info + csv: displayName: Sail Operator categories: OpenShift Optional, Integration & Delivery, Networking, Security