From 6225339f0e5bb8b7797c9f7222c0af46052e3b98 Mon Sep 17 00:00:00 2001 From: Khue Doan Date: Mon, 23 Aug 2021 02:53:45 +0700 Subject: [PATCH] Enable HTTPS for ArgoCD --- bootstrap/argocd/ingress.yaml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/bootstrap/argocd/ingress.yaml b/bootstrap/argocd/ingress.yaml index 2607ad42..a90e9864 100644 --- a/bootstrap/argocd/ingress.yaml +++ b/bootstrap/argocd/ingress.yaml @@ -5,6 +5,7 @@ metadata: labels: nginx.ingress.kubernetes.io/force-ssl-redirect: "true" nginx.ingress.kubernetes.io/ssl-passthrough: "true" + cert-manager.io/issuer: "letsencrypt-staging" spec: rules: - host: argocd.khuedoan.com @@ -16,4 +17,8 @@ spec: service: name: argocd-server port: - number: 80 + number: 443 + tls: + - secretName: argocd-tls-certificate + hosts: + - argocd.khuedoan.com