From 10bca6eed91bef2d8e02340aadbdc34b7fcf4edb Mon Sep 17 00:00:00 2001 From: Khue Doan Date: Mon, 23 Aug 2021 02:59:58 +0700 Subject: [PATCH] Force the nginx ingress to connect to argocd backend using HTTPS --- bootstrap/argocd/ingress.yaml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/bootstrap/argocd/ingress.yaml b/bootstrap/argocd/ingress.yaml index a90e9864..ad604ed7 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" + nginx.ingress.kubernetes.io/backend-protocol: "HTTPS" cert-manager.io/issuer: "letsencrypt-staging" spec: rules: @@ -17,8 +18,8 @@ spec: service: name: argocd-server port: - number: 443 + name: https tls: - - secretName: argocd-tls-certificate - hosts: + - hosts: - argocd.khuedoan.com + secretName: argocd-secret