fix(argocd): use env var for insecure mode instead of args
This commit is contained in:
@@ -1,6 +1,8 @@
|
|||||||
# ------------------------------------------------------------------------------
|
# ------------------------------------------------------------------------------
|
||||||
# ArgoCD Server — Insecure Mode
|
# 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
|
apiVersion: apps/v1
|
||||||
kind: Deployment
|
kind: Deployment
|
||||||
@@ -12,5 +14,6 @@ spec:
|
|||||||
spec:
|
spec:
|
||||||
containers:
|
containers:
|
||||||
- name: argocd-server
|
- name: argocd-server
|
||||||
args:
|
env:
|
||||||
- --insecure
|
- name: ARGOCD_SERVER_INSECURE
|
||||||
|
value: "true"
|
||||||
|
|||||||
Reference in New Issue
Block a user