mirror of
https://github.com/khuedoan/homelab.git
synced 2025-01-05 21:11:52 +07:00
Force the nginx ingress to connect to argocd backend using HTTPS
This commit is contained in:
parent
6225339f0e
commit
10bca6eed9
@ -5,6 +5,7 @@ metadata:
|
|||||||
labels:
|
labels:
|
||||||
nginx.ingress.kubernetes.io/force-ssl-redirect: "true"
|
nginx.ingress.kubernetes.io/force-ssl-redirect: "true"
|
||||||
nginx.ingress.kubernetes.io/ssl-passthrough: "true"
|
nginx.ingress.kubernetes.io/ssl-passthrough: "true"
|
||||||
|
nginx.ingress.kubernetes.io/backend-protocol: "HTTPS"
|
||||||
cert-manager.io/issuer: "letsencrypt-staging"
|
cert-manager.io/issuer: "letsencrypt-staging"
|
||||||
spec:
|
spec:
|
||||||
rules:
|
rules:
|
||||||
@ -17,8 +18,8 @@ spec:
|
|||||||
service:
|
service:
|
||||||
name: argocd-server
|
name: argocd-server
|
||||||
port:
|
port:
|
||||||
number: 443
|
name: https
|
||||||
tls:
|
tls:
|
||||||
- secretName: argocd-tls-certificate
|
- hosts:
|
||||||
hosts:
|
|
||||||
- argocd.khuedoan.com
|
- argocd.khuedoan.com
|
||||||
|
secretName: argocd-secret
|
||||||
|
Loading…
Reference in New Issue
Block a user