fix(argocd): use args not command for --insecure flag
This commit is contained in:
@@ -1,12 +1,6 @@
|
|||||||
# ------------------------------------------------------------------------------
|
# ------------------------------------------------------------------------------
|
||||||
# ArgoCD Server — Insecure Mode Patch
|
# ArgoCD Server — Insecure Mode
|
||||||
#
|
# Enables --insecure flag so TLS is terminated at the Gateway, not argocd-server
|
||||||
# When TLS is terminated at the Gateway (not at argocd-server itself),
|
|
||||||
# argocd-server must run in --insecure mode. Without this, it tries to
|
|
||||||
# do double TLS and the Gateway connection fails.
|
|
||||||
#
|
|
||||||
# This patches the argocd-server Deployment to add the --insecure flag.
|
|
||||||
# Applied as part of the argocd-config Application (same path/namespace).
|
|
||||||
# ------------------------------------------------------------------------------
|
# ------------------------------------------------------------------------------
|
||||||
apiVersion: apps/v1
|
apiVersion: apps/v1
|
||||||
kind: Deployment
|
kind: Deployment
|
||||||
@@ -18,6 +12,5 @@ spec:
|
|||||||
spec:
|
spec:
|
||||||
containers:
|
containers:
|
||||||
- name: argocd-server
|
- name: argocd-server
|
||||||
command:
|
args:
|
||||||
- argocd-server
|
|
||||||
- --insecure
|
- --insecure
|
||||||
|
|||||||
Reference in New Issue
Block a user