fix(argocd): use args not command for --insecure flag

This commit is contained in:
2026-05-17 22:24:26 -05:00
parent 3ce3ecac66
commit 03acab784a

View File

@@ -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