-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvalues-test-ingress.yaml
52 lines (51 loc) · 2.13 KB
/
values-test-ingress.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
40
41
42
43
44
45
46
47
48
49
50
51
# Test values with following command
# helm template vault-operator-config --namespace=vault --create-namespace --values values-test-ssl.yaml --values values-test-ingress.yaml --values values-test-merge.yaml
vaultOperator:
networks:
ingress:
- name: vault-public
# namespace: <set explicitly here>, falls back to defaults then .Release.Namespace
annotations:
external-dns.alpha.kubernetes.io/ingress-hostname-source: defined-hosts-only
external-dns.alpha.kubernetes.io/target: nginx-ingress-public.fqdn
nginx.ingress.kubernetes.io/backend-protocol: HTTPS
nginx.ingress.kubernetes.io/ssl-passthrough: 'true'
spec:
# prerequisite: Nginx Ingress controller configured for public access
ingressClassName: nginx-public
tls:
- secretName: fqdn-tls
rules:
- host: vault-pub.fqdn
http:
paths:
- path: /
pathType: ImplementationSpecific
backend:
service:
name: vault
port:
number: 8200
- name: vault-internal
# namespace: <set explicitly here>, falls back to defaults then .Release.Namespace
annotations:
external-dns.alpha.kubernetes.io/ingress-hostname-source: defined-hosts-only
external-dns.alpha.kubernetes.io/target: nginx-ingress-internal.fqdn
nginx.ingress.kubernetes.io/backend-protocol: HTTPS
nginx.ingress.kubernetes.io/ssl-passthrough: 'true'
spec:
# prerequisite: Nginx Ingress controller configured for internal access
ingressClassName: nginx-internal
tls:
- secretName: fqdn-tls
rules:
- host: vault-int.fqdn
http:
paths:
- path: /
pathType: ImplementationSpecific
backend:
service:
name: vault
port:
number: 8200