Added DNS annotations to osc stack

This commit is contained in:
Richard Robert Reitz 2024-12-08 23:43:21 +01:00
parent 92b56c5350
commit 28740aea65
9 changed files with 33 additions and 11 deletions

View file

@ -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: