mirror of
https://github.com/khuedoan/homelab.git
synced 2025-01-03 21:40:34 +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:
|
||||
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
|
||||
|
Loading…
Reference in New Issue
Block a user