Files
ingress/pkg/provider/kubernetes/ingress-nginx/fixtures/ingresses/ingress-with-auth-tls-pass-certificate-to-upstream.yml

28 lines
711 B
YAML

---
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: ingress-with-auth-tls-pass-certificate-to-upstream
namespace: default
annotations:
nginx.ingress.kubernetes.io/auth-tls-secret: "default/ca-secret"
nginx.ingress.kubernetes.io/auth-tls-pass-certificate-to-upstream: "true"
spec:
ingressClassName: nginx
tls:
- hosts:
- auth-tls-pass-certificate-to-upstream.localhost
- secretName: whoami-tls
rules:
- host: auth-tls-pass-certificate-to-upstream.localhost
http:
paths:
- path: /
pathType: Exact
backend:
service:
name: whoami
port:
number: 80