Added DNS annotations to osc stack
This commit is contained in:
parent
92b56c5350
commit
28740aea65
9 changed files with 33 additions and 11 deletions
|
|
@ -3,10 +3,16 @@ kind: Ingress
|
|||
metadata:
|
||||
name: openbao
|
||||
namespace: openbao
|
||||
{{{ if eq .Env.CLUSTER_TYPE "osc" }}}
|
||||
annotations:
|
||||
dns.gardener.cloud/class: garden
|
||||
dns.gardener.cloud/dnsnames: openbao.{{{ .Env.DOMAIN }}}
|
||||
dns.gardener.cloud/ttl: "600"
|
||||
{{{ end }}}
|
||||
spec:
|
||||
ingressClassName: nginx
|
||||
rules:
|
||||
- host: openbao.cnoe.localtest.me
|
||||
- host: openbao.{{{ .Env.DOMAIN }}}
|
||||
http:
|
||||
paths:
|
||||
- backend:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue