From b3ccda1728c2d07ed9389791f7e9391549ad9134 Mon Sep 17 00:00:00 2001 From: Aaron Riedel Date: Fri, 21 Apr 2023 09:58:38 +0200 Subject: [PATCH] =?UTF-8?q?Revert=20"disable=20basicauth=20for=20acme=20ch?= =?UTF-8?q?allenges=20=F0=9F=8D=87"?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This reverts commit 84f3e623b54f667bc9e5f7f844ffd88c545d69e1. --- ingress/values.yaml | 3 +-- prometheus/ingress.yaml | 8 -------- 2 files changed, 1 insertion(+), 10 deletions(-) diff --git a/ingress/values.yaml b/ingress/values.yaml index 5d1683d..1c06be3 100644 --- a/ingress/values.yaml +++ b/ingress/values.yaml @@ -1,7 +1,6 @@ controller: - enableSnippets: true hostNetwork: true - setAsDefaultIngress: true + setAsDefaultIngress: true service: create: false kind: daemonset \ No newline at end of file diff --git a/prometheus/ingress.yaml b/prometheus/ingress.yaml index 6b1be50..54cf08b 100644 --- a/prometheus/ingress.yaml +++ b/prometheus/ingress.yaml @@ -9,10 +9,6 @@ metadata: cert-manager.io/cluster-issuer: letsencrypt-prod acme.cert-manager.io/http01-edit-in-place: "true" ingress.kubernetes.io/ssl-redirect: "false" - nginx.org/server-snippets: | - location ^~ /.well-known/acme-challenge/ { - auth_basic off; - } nginx.org/basic-auth-secret: prometheus-basic-auth-secret #nginx.org/ssl-services: "prometheus-server" spec: @@ -42,10 +38,6 @@ metadata: cert-manager.io/cluster-issuer: letsencrypt-prod acme.cert-manager.io/http01-edit-in-place: "true" ingress.kubernetes.io/ssl-redirect: "false" - nginx.org/server-snippets: | - location ^~ /.well-known/acme-challenge/ { - auth_basic off; - } nginx.org/basic-auth-secret: prometheus-basic-auth-secret #nginx.org/ssl-services: "prometheus-server" spec: