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:
|
||||
ingress:
|
||||
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:
|
||||
- host: auth.hxme.net
|
||||
paths:
|
||||
- path: /
|
||||
pathType: Prefix
|
||||
tls:
|
||||
- hosts:
|
||||
- auth.hxme.net
|
||||
secretName: wildcard-hxme-net
|
||||
destination:
|
||||
server: https://kubernetes.default.svc
|
||||
namespace: home-server
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue