use ingress.class annotations
ci / build (push) Successful in 9s Details

This commit is contained in:
CJ_Clippy 2024-04-26 20:53:49 +00:00
parent 1dbf109afe
commit fe9eb8d439
2 changed files with 5 additions and 3 deletions

View File

@ -2,5 +2,3 @@ apiVersion: v1
kind: Namespace kind: Namespace
metadata: metadata:
name: podinfo name: podinfo
labels:
toolkit.fluxcd.io/tenant: dev-team

View File

@ -26,7 +26,9 @@ spec:
enabled: true enabled: true
className: "nginx" className: "nginx"
annotations: annotations:
kubernetes.io/ingress.class: "nginx"
cert-manager.io/cluster-issuer: "letsencrypt-staging" cert-manager.io/cluster-issuer: "letsencrypt-staging"
nginx.ingress.kubernetes.io/ssl-redirect: "true"
hosts: hosts:
- host: podinfo.sbtp.xyz - host: podinfo.sbtp.xyz
paths: paths:
@ -41,3 +43,5 @@ spec:
- secretName: podinfo-tls - secretName: podinfo-tls
hosts: hosts:
- podinfo.sbtp.xyz - podinfo.sbtp.xyz