diff options
Diffstat (limited to '')
-rw-r--r-- | tools/argocd/templates/ingress.yaml | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/tools/argocd/templates/ingress.yaml b/tools/argocd/templates/ingress.yaml new file mode 100644 index 0000000..5793540 --- /dev/null +++ b/tools/argocd/templates/ingress.yaml @@ -0,0 +1,28 @@ +apiVersion: networking.k8s.io/v1 +kind: Ingress +metadata: + name: argocd-ingress + namespace: { { .Values.namespace } } + annotations: + kubernetes.io/ingress.class: + { { .Values.ingress.annotations."kubernetes.io/ingress.class" } } + cert-manager.io/cluster-issuer: letsencrypt-prod + traefik.ingress.kubernetes.io/redirect-entry-point: https + traefik.ingress.kubernetes.io/ssl-redirect: "true" + traefik.ingress.kubernetes.io/tls-acme: "true" +spec: + rules: + - host: { { .Values.ingress.hostname } } + http: + paths: + - path: / + pathType: Prefix + backend: + service: + name: argocd-server + port: + number: 80 + tls: + - hosts: + - { { .Values.ingress.hostname } } + secretName: { { .Values.ingress.tls.secretName } } |