k8s-manifests/spark/overlays/test/spark-ui-proxy-ingress.yml

32 lines
769 B
YAML
Raw Normal View History

2024-06-28 10:27:58 +00:00
---
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
2024-06-28 12:28:48 +00:00
name: spark-ui-proxy-ingress
2024-06-28 10:27:58 +00:00
annotations:
kubernetes.io/ingress.class: nginx
2024-06-28 13:13:02 +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-06-28 10:27:58 +00:00
spec:
ingressClassName: nginx
defaultBackend:
service:
name: spark-ui-proxy
port:
number: 80
tls:
2024-06-28 13:13:02 +00:00
- hosts: [spark.drive.test.sunet.se]
2024-06-28 10:27:58 +00:00
secretName: tls-secret
rules:
2024-06-28 13:13:02 +00:00
- host: spark.drive.test.sunet.se
http:
paths:
- path: /
pathType: Prefix
backend:
service:
name: spark-ui-proxy
port:
number: 80