Skip to content

Environment variables

Complete reference for Cased CD Enterprise configuration options

This page documents all environment variables that configure Cased CD Enterprise.

VariableDescriptionDefault
ARGOCD_SERVERArgoCD server URLhttp://argocd-server.argocd.svc.cluster.local:80
ARGOCD_INSECURESkip TLS certificate verificationfalse
ARGOCD_NAMESPACENamespace where ArgoCD is installedargocd
Terminal window
# Internal cluster connection
ARGOCD_SERVER=http://argocd-server.argocd.svc.cluster.local:80
# External with TLS
ARGOCD_SERVER=https://argocd.example.com
ARGOCD_INSECURE=false
# Self-signed certificates
ARGOCD_SERVER=https://argocd-server.argocd.svc.cluster.local:443
ARGOCD_INSECURE=true
VariableDescriptionDefault
COGNITO_DOMAINAWS Cognito hosted UI domain
Terminal window
# Format: your-domain.auth.region.amazoncognito.com
COGNITO_DOMAIN=mycompany.auth.us-west-2.amazoncognito.com
VariableDescriptionDefault
AUDIT_FILE_PATHPath to audit log file/data/audit/events.jsonl
AUDIT_ENABLEDEnable/disable audit loggingtrue

These variables are set at build time via Vite:

VariableDescriptionDefault
VITE_IS_ENTERPRISEEnable enterprise featuresfalse
VITE_USE_REAL_APIUse real ArgoCD API vs mockfalse
VITE_COGNITO_DOMAINCognito domain for frontend SSO
VITE_ENTERPRISE_BACKENDUse enterprise backendfalse

These environment variables can also be set via Helm values:

Environment variableHelm value
ARGOCD_SERVERargocd.server
ARGOCD_INSECUREargocd.insecure
ARGOCD_NAMESPACEargocd.namespace
COGNITO_DOMAINcognito.domain
AUDIT_ENABLEDenterprise.auditTrail.enabled
Terminal window
helm upgrade cased-cd cased/cased-cd-enterprise \
--namespace argocd \
--set 'imagePullSecrets[0].name=cased-cd-registry' \
--set argocd.server=https://argocd.example.com \
--set argocd.insecure=false \
--set cognito.domain=mycompany.auth.us-west-2.amazoncognito.com
Terminal window
kubectl set env deployment/cased-cd-enterprise \
-n argocd \
ARGOCD_SERVER=https://argocd.example.com \
ARGOCD_INSECURE=false
Terminal window
kubectl patch deployment cased-cd-enterprise -n argocd --type json -p '[
{
"op": "add",
"path": "/spec/template/spec/containers/0/env/-",
"value": {
"name": "COGNITO_DOMAIN",
"value": "mycompany.auth.us-west-2.amazoncognito.com"
}
}
]'

View current environment variables:

Terminal window
kubectl exec -n argocd deployment/cased-cd-enterprise -- env | sort

Check if variables are being used:

Terminal window
kubectl logs -n argocd deployment/cased-cd-enterprise | head -50