mirror of
https://github.com/khuedoan/homelab.git
synced 2025-01-03 21:40:34 +07:00
ArgoCD terminate TLS at ingress controller
This commit is contained in:
parent
6ac5cfe84b
commit
61f7114d40
12
bootstrap/argocd/argocd-server-deployment-patch.yaml
Normal file
12
bootstrap/argocd/argocd-server-deployment-patch.yaml
Normal 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
|
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user