From 921e941d9c5399442073a1b7479ca82b429e6953 Mon Sep 17 00:00:00 2001 From: Rui Vieira Date: Fri, 9 Feb 2024 13:02:17 +0000 Subject: [PATCH] Remove /metrics from skip-auth (#197) --- controllers/templates/service/deployment.tmpl.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/controllers/templates/service/deployment.tmpl.yaml b/controllers/templates/service/deployment.tmpl.yaml index 8660d53e..d5045359 100644 --- a/controllers/templates/service/deployment.tmpl.yaml +++ b/controllers/templates/service/deployment.tmpl.yaml @@ -105,7 +105,7 @@ spec: - '--tls-cert=/etc/tls/private/tls.crt' - '--tls-key=/etc/tls/private/tls.key' - '--upstream=http://localhost:8080' - - '--skip-auth-regex=''(^/metrics|^/apis/v1beta1/healthz)''' + - '--skip-auth-regex=''(^/apis/v1beta1/healthz)''' - >- --openshift-sar={"namespace":"{{ .Instance.Namespace }}","resource":"pods","verb":"get"} - >-