mirror of
https://github.com/khuedoan/homelab.git
synced 2025-01-05 21:11:52 +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
|
name: argocd-server
|
||||||
labels:
|
labels:
|
||||||
cert-manager.io/cluster-issuer: "selfsigned-cluster-issuer"
|
cert-manager.io/cluster-issuer: "selfsigned-cluster-issuer"
|
||||||
nginx.ingress.kubernetes.io/backend-protocol: "HTTPS"
|
|
||||||
nginx.ingress.kubernetes.io/ssl-passthrough: "true"
|
|
||||||
spec:
|
spec:
|
||||||
rules:
|
rules:
|
||||||
- host: argocd.khuedoan.com
|
- host: argocd.khuedoan.com
|
||||||
@ -17,7 +15,7 @@ spec:
|
|||||||
service:
|
service:
|
||||||
name: argocd-server
|
name: argocd-server
|
||||||
port:
|
port:
|
||||||
name: https
|
name: http
|
||||||
tls:
|
tls:
|
||||||
- hosts:
|
- hosts:
|
||||||
- argocd.khuedoan.com
|
- argocd.khuedoan.com
|
||||||
|
@ -7,4 +7,7 @@ resources:
|
|||||||
- https://raw.githubusercontent.com/argoproj-labs/applicationset/stable/manifests/install.yaml
|
- https://raw.githubusercontent.com/argoproj-labs/applicationset/stable/manifests/install.yaml
|
||||||
- ingress.yaml
|
- ingress.yaml
|
||||||
|
|
||||||
|
patches:
|
||||||
|
- path: argocd-server-deployment-patch.yaml
|
||||||
|
|
||||||
namespace: argocd
|
namespace: argocd
|
||||||
|
Loading…
Reference in New Issue
Block a user