From 58a545ed116b2047f40523872fe9444ae7d9bb10 Mon Sep 17 00:00:00 2001 From: Aaron Riedel Date: Sun, 23 Apr 2023 00:54:24 +0200 Subject: [PATCH] potentially fix basicauth issue --- prometheus/ingress.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/prometheus/ingress.yaml b/prometheus/ingress.yaml index 6b1be50..a2dd6a3 100644 --- a/prometheus/ingress.yaml +++ b/prometheus/ingress.yaml @@ -10,7 +10,7 @@ metadata: acme.cert-manager.io/http01-edit-in-place: "true" ingress.kubernetes.io/ssl-redirect: "false" nginx.org/server-snippets: | - location ^~ /.well-known/acme-challenge/ { + location /.well-known/acme-challenge/ { auth_basic off; } nginx.org/basic-auth-secret: prometheus-basic-auth-secret @@ -43,7 +43,7 @@ metadata: acme.cert-manager.io/http01-edit-in-place: "true" ingress.kubernetes.io/ssl-redirect: "false" nginx.org/server-snippets: | - location ^~ /.well-known/acme-challenge/ { + location /.well-known/acme-challenge/ { auth_basic off; } nginx.org/basic-auth-secret: prometheus-basic-auth-secret