fix(argocd): use env var for insecure mode instead of args

This commit is contained in:
2026-05-18 00:23:03 -05:00
parent 725d403d34
commit 5a30521d66

View File

@@ -1,6 +1,8 @@
# ------------------------------------------------------------------------------
# ArgoCD Server — Insecure Mode
# Enables --insecure flag so TLS is terminated at the Gateway, not argocd-server
# Enables insecure mode via environment variable so TLS is terminated
# at the Gateway, not at argocd-server itself.
# Using env var instead of args to avoid tini entrypoint conflict.
# ------------------------------------------------------------------------------
apiVersion: apps/v1
kind: Deployment
@@ -12,5 +14,6 @@ spec:
spec:
containers:
- name: argocd-server
args:
- --insecure
env:
- name: ARGOCD_SERVER_INSECURE
value: "true"