Add annotations for hostname and wildcard ssl
This commit is contained in:
parent
5d050ae413
commit
527346566b
1 changed files with 8 additions and 0 deletions
|
@ -25,11 +25,19 @@ spec:
|
||||||
authentik:
|
authentik:
|
||||||
ingress:
|
ingress:
|
||||||
enabled: true
|
enabled: true
|
||||||
|
annotations:
|
||||||
|
external-dns.alpha.kubernetes.io/hostname: auth.hxme.net
|
||||||
|
nginx.ingress.kubernetes.io/server-snippet: |
|
||||||
|
add_header Strict-Transport-Security "max-age=15552000; includeSubDomains" always;
|
||||||
hosts:
|
hosts:
|
||||||
- host: auth.hxme.net
|
- host: auth.hxme.net
|
||||||
paths:
|
paths:
|
||||||
- path: /
|
- path: /
|
||||||
pathType: Prefix
|
pathType: Prefix
|
||||||
|
tls:
|
||||||
|
- hosts:
|
||||||
|
- auth.hxme.net
|
||||||
|
secretName: wildcard-hxme-net
|
||||||
destination:
|
destination:
|
||||||
server: https://kubernetes.default.svc
|
server: https://kubernetes.default.svc
|
||||||
namespace: home-server
|
namespace: home-server
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue