2024-10-16 16:05:49 +00:00
|
|
|
---
|
|
|
|
apiVersion: networking.k8s.io/v1
|
|
|
|
kind: Ingress
|
|
|
|
metadata:
|
|
|
|
name: spark-ui-proxy-ingress
|
|
|
|
annotations:
|
|
|
|
kubernetes.io/ingress.class: nginx
|
2024-10-17 07:38:01 +00:00
|
|
|
# nginx.ingress.kubernetes.io/auth-type: basic
|
|
|
|
# nginx.ingress.kubernetes.io/auth-secret: htpasswd
|
|
|
|
# nginx.ingress.kubernetes.io/auth-realm: Enter your credentials
|
2024-10-17 07:39:18 +00:00
|
|
|
cert-manager.io/issuer: "letsencrypt"
|
2024-10-16 16:05:49 +00:00
|
|
|
spec:
|
|
|
|
ingressClassName: nginx
|
|
|
|
defaultBackend:
|
|
|
|
service:
|
|
|
|
name: spark-ui-proxy
|
|
|
|
port:
|
|
|
|
number: 80
|
2024-10-17 07:39:58 +00:00
|
|
|
tls:
|
|
|
|
- hosts: [spark-test.streams.sunet.se]
|
|
|
|
secretName: tls-secret
|
2024-10-16 16:05:49 +00:00
|
|
|
rules:
|
|
|
|
- host: spark-test.streams.sunet.se
|
|
|
|
http:
|
|
|
|
paths:
|
|
|
|
- path: /
|
|
|
|
pathType: Prefix
|
|
|
|
backend:
|
|
|
|
service:
|
|
|
|
name: spark-ui-proxy
|
|
|
|
port:
|
|
|
|
number: 80
|