-
Notifications
You must be signed in to change notification settings - Fork 91
/
mutual-auth.yaml
39 lines (39 loc) · 1.03 KB
/
mutual-auth.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
annotations:
ingress.citrix.com/backend-ca-secret: '{"apache": "tls-ca"}'
ingress.citrix.com/backend-secret: '{"apache": "wildcard-secret"}'
ingress.citrix.com/backend-sslprofile: '{"apache":{"serverauth": "enabled", "sni":
"enabled"}}'
ingress.citrix.com/ca-secret: '{"apache": "tls-ca"}'
ingress.citrix.com/frontend-ip: A.B.C.D
ingress.citrix.com/frontend-sslprofile: '{"clientauth": "enabled", "sni": "enabled"
}'
ingress.citrix.com/secure_backend: '{"apache": "True"}'
name: web-ingress
spec:
ingressClassName: citrix
rules:
- host: www.guestbook.com
http:
paths:
- backend:
service:
name: apache
port:
number: 443
path: /
pathType: ImplementationSpecific
tls:
- hosts:
- www.guestbook.com
secretName: wildcard-secret
---
apiVersion: networking.k8s.io/v1
kind: IngressClass
metadata:
name: citrix
spec:
controller: citrix.com/ingress-controller
---