This commit is contained in:
Micke Nordin 2024-10-17 09:38:01 +02:00
parent 857f47df8c
commit 4d7ad133f0
Signed by: Micke
GPG key ID: 0DA0A7A5708FE257

View file

@ -5,10 +5,10 @@ metadata:
name: spark-ui-proxy-ingress
annotations:
kubernetes.io/ingress.class: nginx
nginx.ingress.kubernetes.io/auth-type: basic
nginx.ingress.kubernetes.io/auth-secret: htpasswd
nginx.ingress.kubernetes.io/auth-realm: Enter your credentials
cert-manager.io/issuer: "letsencrypt"
# nginx.ingress.kubernetes.io/auth-type: basic
# nginx.ingress.kubernetes.io/auth-secret: htpasswd
# nginx.ingress.kubernetes.io/auth-realm: Enter your credentials
# cert-manager.io/issuer: "letsencrypt"
spec:
ingressClassName: nginx
defaultBackend:
@ -16,9 +16,9 @@ spec:
name: spark-ui-proxy
port:
number: 80
tls:
- hosts: [spark-test.streams.sunet.se]
secretName: tls-secret
# tls:
# - hosts: [spark-test.streams.sunet.se]
# secretName: tls-secret
rules:
- host: spark-test.streams.sunet.se
http: