ArgoCD terminate TLS at ingress controller

This commit is contained in:
Khue Doan 2021-08-24 02:26:55 +07:00
parent 6ac5cfe84b
commit 61f7114d40
3 changed files with 16 additions and 3 deletions

View File

@ -0,0 +1,12 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: argocd-server
spec:
template:
spec:
containers:
- name: argocd-server
command:
- argocd-server
- --insecure

View File

@ -4,8 +4,6 @@ metadata:
name: argocd-server
labels:
cert-manager.io/cluster-issuer: "selfsigned-cluster-issuer"
nginx.ingress.kubernetes.io/backend-protocol: "HTTPS"
nginx.ingress.kubernetes.io/ssl-passthrough: "true"
spec:
rules:
- host: argocd.khuedoan.com
@ -17,7 +15,7 @@ spec:
service:
name: argocd-server
port:
name: https
name: http
tls:
- hosts:
- argocd.khuedoan.com

View File

@ -7,4 +7,7 @@ resources:
- https://raw.githubusercontent.com/argoproj-labs/applicationset/stable/manifests/install.yaml
- ingress.yaml
patches:
- path: argocd-server-deployment-patch.yaml
namespace: argocd