Fix basicauth issue (finaly)
This commit is contained in:
parent
7cc71f7ccd
commit
02a123fe1f
2 changed files with 18 additions and 13 deletions
|
@ -7,12 +7,8 @@ metadata:
|
|||
annotations:
|
||||
kubernetes.io/ingress.class: "nginx"
|
||||
cert-manager.io/cluster-issuer: letsencrypt-prod
|
||||
acme.cert-manager.io/http01-edit-in-place: "true"
|
||||
acme.cert-manager.io/http01-edit-in-place: "false"
|
||||
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:
|
||||
|
@ -40,12 +36,8 @@ metadata:
|
|||
annotations:
|
||||
kubernetes.io/ingress.class: "nginx"
|
||||
cert-manager.io/cluster-issuer: letsencrypt-prod
|
||||
acme.cert-manager.io/http01-edit-in-place: "true"
|
||||
acme.cert-manager.io/http01-edit-in-place: "false"
|
||||
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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue