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
#
# 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).
# ArgoCD Server — Insecure Mode
# Enables --insecure flag so TLS is terminated at the Gateway, not argocd-server
# ------------------------------------------------------------------------------
apiVersion: apps/v1
kind: Deployment
@@ -18,6 +12,5 @@ spec:
spec:
containers:
- name: argocd-server
command:
- argocd-server
args:
- --insecure