From f16352c0df62a6a3a0ada94887ebd3fbfedb2d5b Mon Sep 17 00:00:00 2001 From: francostellari Date: Wed, 15 May 2024 12:25:46 -0400 Subject: [PATCH] Enable verbosity control Signed-off-by: francostellari --- chart/templates/operator.yaml | 2 +- chart/values.yaml | 3 ++- config/default/manager_auth_proxy_patch.yaml | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/chart/templates/operator.yaml b/chart/templates/operator.yaml index c3b107a..bac33d9 100644 --- a/chart/templates/operator.yaml +++ b/chart/templates/operator.yaml @@ -591,7 +591,7 @@ spec: - --secure-listen-address=0.0.0.0:8443 - --upstream=http://127.0.0.1:8080/ - --logtostderr=true - - --v=0 + - --v={{.Values.verbosity}} image: gcr.io/kubebuilder/kube-rbac-proxy:v0.13.1 name: kube-rbac-proxy ports: diff --git a/chart/values.yaml b/chart/values.yaml index f5f6b07..0b2a3fa 100644 --- a/chart/values.yaml +++ b/chart/values.yaml @@ -6,4 +6,5 @@ domain: localtest.me externalPort: "9443" isOpenShift: "false" installPostgreSQL: true -hostContainer: kubeflex-control-plane \ No newline at end of file +hostContainer: kubeflex-control-plane +verbosity: 0 \ No newline at end of file diff --git a/config/default/manager_auth_proxy_patch.yaml b/config/default/manager_auth_proxy_patch.yaml index cde2c1d..10e7d7a 100644 --- a/config/default/manager_auth_proxy_patch.yaml +++ b/config/default/manager_auth_proxy_patch.yaml @@ -46,7 +46,7 @@ spec: - "--secure-listen-address=0.0.0.0:8443" - "--upstream=http://127.0.0.1:8080/" - "--logtostderr=true" - - "--v=0" + - "--v={{.Values.verbosity}}" ports: - containerPort: 8443 protocol: TCP