diff options
author | makefunstuff <[email protected]> | 2024-06-28 14:42:09 +0200 |
---|---|---|
committer | makefunstuff <[email protected]> | 2024-06-28 14:42:09 +0200 |
commit | 5f14386dcdd3530c79a31678a1a3bf59e3ddb6ef (patch) | |
tree | da923ec2a7ab1f4184e9597a23e8287425b800d0 /tools/argocd/templates/ingress.yaml | |
parent | 320b06cb81e0fe434aea56494684fae101a89dfc (diff) | |
download | k3s-lab-5f14386dcdd3530c79a31678a1a3bf59e3ddb6ef.tar.gz |
broken
Diffstat (limited to '')
-rw-r--r-- | tools/argocd/templates/ingress.yaml | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/tools/argocd/templates/ingress.yaml b/tools/argocd/templates/ingress.yaml index 5793540..1253287 100644 --- a/tools/argocd/templates/ingress.yaml +++ b/tools/argocd/templates/ingress.yaml @@ -2,17 +2,22 @@ apiVersion: networking.k8s.io/v1 kind: Ingress metadata: name: argocd-ingress - namespace: { { .Values.namespace } } + namespace: {{ .Values.namespace }} annotations: kubernetes.io/ingress.class: - { { .Values.ingress.annotations."kubernetes.io/ingress.class" } } + {{ .Values.ingress.annotations.kubernetes_io_ingress_class }} cert-manager.io/cluster-issuer: letsencrypt-prod + traefik.ingress.kubernetes.io/router.entrypoints: websecure + traefik.ingress.kubernetes.io/router.tls: "true" + traefik.ingress.kubernetes.io/router.tls.certresolver: "default" traefik.ingress.kubernetes.io/redirect-entry-point: https + traefik.ingress.kubernetes.io/router.tls.domains.0.main: topkek.cloud + traefik.ingress.kubernetes.io/router.tls.domains.0.sans: argocd.topkek.cloud traefik.ingress.kubernetes.io/ssl-redirect: "true" traefik.ingress.kubernetes.io/tls-acme: "true" spec: rules: - - host: { { .Values.ingress.hostname } } + - host: {{ .Values.ingress.hostname }} http: paths: - path: / @@ -24,5 +29,5 @@ spec: number: 80 tls: - hosts: - - { { .Values.ingress.hostname } } - secretName: { { .Values.ingress.tls.secretName } } + - {{ .Values.ingress.hostname }} + secretName: {{ .Values.ingress.tls.secretName }} |