Environment variables
Complete reference for Cased CD Enterprise configuration options
This page documents all environment variables that configure Cased CD Enterprise.
ArgoCD connection
Section titled “ArgoCD connection”| Variable | Description | Default |
|---|---|---|
ARGOCD_SERVER | ArgoCD server URL | http://argocd-server.argocd.svc.cluster.local:80 |
ARGOCD_INSECURE | Skip TLS certificate verification | false |
ARGOCD_NAMESPACE | Namespace where ArgoCD is installed | argocd |
Examples
Section titled “Examples”# Internal cluster connectionARGOCD_SERVER=http://argocd-server.argocd.svc.cluster.local:80
# External with TLSARGOCD_SERVER=https://argocd.example.comARGOCD_INSECURE=false
# Self-signed certificatesARGOCD_SERVER=https://argocd-server.argocd.svc.cluster.local:443ARGOCD_INSECURE=trueSSO configuration
Section titled “SSO configuration”| Variable | Description | Default |
|---|---|---|
COGNITO_DOMAIN | AWS Cognito hosted UI domain | — |
Cognito example
Section titled “Cognito example”# Format: your-domain.auth.region.amazoncognito.comCOGNITO_DOMAIN=mycompany.auth.us-west-2.amazoncognito.comAudit trail
Section titled “Audit trail”| Variable | Description | Default |
|---|---|---|
AUDIT_FILE_PATH | Path to audit log file | /data/audit/events.jsonl |
AUDIT_ENABLED | Enable/disable audit logging | true |
Frontend configuration
Section titled “Frontend configuration”These variables are set at build time via Vite:
| Variable | Description | Default |
|---|---|---|
VITE_IS_ENTERPRISE | Enable enterprise features | false |
VITE_USE_REAL_API | Use real ArgoCD API vs mock | false |
VITE_COGNITO_DOMAIN | Cognito domain for frontend SSO | — |
VITE_ENTERPRISE_BACKEND | Use enterprise backend | false |
Helm values mapping
Section titled “Helm values mapping”These environment variables can also be set via Helm values:
| Environment variable | Helm value |
|---|---|
ARGOCD_SERVER | argocd.server |
ARGOCD_INSECURE | argocd.insecure |
ARGOCD_NAMESPACE | argocd.namespace |
COGNITO_DOMAIN | cognito.domain |
AUDIT_ENABLED | enterprise.auditTrail.enabled |
Helm example
Section titled “Helm example”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.comSetting variables manually
Section titled “Setting variables manually”Via kubectl
Section titled “Via kubectl”kubectl set env deployment/cased-cd-enterprise \ -n argocd \ ARGOCD_SERVER=https://argocd.example.com \ ARGOCD_INSECURE=falseVia deployment patch
Section titled “Via deployment patch”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" } }]'Debugging
Section titled “Debugging”View current environment variables:
kubectl exec -n argocd deployment/cased-cd-enterprise -- env | sortCheck if variables are being used:
kubectl logs -n argocd deployment/cased-cd-enterprise | head -50