-
Notifications
You must be signed in to change notification settings - Fork 13
refactor(deploy): externalize compose credentials and subsystem test secrets (FLPATH-4806) #60
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
chadcrum
merged 1 commit into
dcm-project:main
from
chadcrum:flpath-4806-compose-externalize-secrets
Sep 14, 2026
Merged
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,57 +1,59 @@ | ||
| # Optional: copy to .env in the repo root and set for local overrides. | ||
| # Used by deploy/compose.yaml. Defaults (admin / adminpass) are for local dev only. | ||
| # POSTGRES_USER=admin | ||
| # POSTGRES_PASSWORD=adminpass | ||
|
|
||
| # --- Authentication --- | ||
| # Auth is disabled by default. Set AUTH_DISABLED=false to enable. | ||
| # DCM_ADMIN_SUBJECT is required when auth is enabled (must match a Keycloak user id). | ||
| # AUTH_DISABLED=true | ||
| # Copy to deploy/.env before starting the stack (see deploy/RUN.md). | ||
| # Lab defaults below — keep in sync with kubectl Secret blocks in RUN.md / deploy/helm/dcm/README.md. | ||
|
|
||
| # === Required (default stack: postgres, nats, control-plane, dcm-ui) === | ||
| POSTGRES_USER=admin | ||
| POSTGRES_PASSWORD=adminpass | ||
| DB_USER=admin | ||
| DB_PASS=adminpass | ||
| DB_PASSWORD=adminpass | ||
|
|
||
| # === Enable authentication (make compose-up AUTH=true) === | ||
| # KEYCLOAK_ADMIN=admin | ||
| # KEYCLOAK_ADMIN_PASSWORD=admin | ||
| # DCM_DEV_USER_PASSWORD=admin | ||
| # AUTH_PROXY_SECRET=dcm-dev-proxy-secret | ||
| # AUTH_DISABLED=false | ||
| # AUTH_ISSUER_URL=http://keycloak:8080/realms/dcm | ||
| # AUTH_JWT_AUDIENCE=dcm-api | ||
| # AUTH_PROXY_SECRET=dcm-dev-proxy-secret | ||
| # AUTH_CACHE_TTL=60s | ||
| # DCM_ADMIN_SUBJECT=56deb662-4820-5d83-b828-f4beb11a5fa7 | ||
| # KEYCLOAK_ADMIN_PASSWORD=admin | ||
| # DCM_DEV_USER_PASSWORD=admin | ||
|
|
||
| # === Optional knobs (image versions, SP profiles, ...) === | ||
| # CONTROL_PLANE_VERSION=main | ||
| # KUBEVIRT_SERVICE_PROVIDER_VERSION=main | ||
| # K8S_CONTAINER_SERVICE_PROVIDER_VERSION=main | ||
| # K8S_STORAGE_SERVICE_PROVIDER_VERSION=main | ||
| # ACM_CLUSTER_SERVICE_PROVIDER_VERSION=main | ||
| # THREE_TIER_DEMO_SERVICE_PROVIDER_VERSION=main | ||
| # DCM_UI_VERSION=main | ||
|
|
||
| # ACM cluster service provider (profile: acm-cluster) | ||
| # ACM_CLUSTER_SP_PULL_SECRET=<base64-encoded-dockerconfigjson> | ||
| # ACM_CLUSTER_SP_NAME=acm-cluster-sp | ||
| # ACM_CLUSTER_SP_BASE_DOMAIN=apps.example.com | ||
| # ACM_CLUSTER_SP_NAMESPACE=default | ||
| # ACM_CLUSTER_SP_KUBECONFIG=~/.kube/config | ||
| # ACM_CLUSTER_SP_DEFAULT_INFRA_ENV= | ||
| # ACM_CLUSTER_SP_AGENT_NAMESPACE= | ||
| # See compose.override.example.yaml for OpenShift route exposure on three-tier SP | ||
|
|
||
| # K8s container service provider (profile: k8s-container) | ||
| # K8S_CONTAINER_SP_KUBECONFIG=/path/to/kubeconfig | ||
| # K8S_CONTAINER_SP_NAMESPACE=default | ||
| # K8S_CONTAINER_SP_KUBECONFIG=~/.kube/config | ||
| # K8S_CONTAINER_SP_NAME=k8s-container-provider | ||
| # K8S_CONTAINER_SP_EXTERNAL_SVC_TYPE=NodePort | ||
|
|
||
| # K8s storage service provider (profile: storage) | ||
| # K8S_STORAGE_SP_KUBECONFIG=/path/to/kubeconfig | ||
| # K8S_STORAGE_SP_NAMESPACE=default | ||
| # K8S_STORAGE_SP_KUBECONFIG=~/.kube/config | ||
| # K8S_STORAGE_SP_NAME=k8s-storage-provider | ||
| # K8S_STORAGE_SP_DEFAULT_STORAGE_CLASS= | ||
| # K8S_STORAGE_SP_DEFAULT_ACCESS_MODE=ReadWriteOnce | ||
|
|
||
| # Three-tier demo app service provider (profile: three-tier) | ||
| # Same kubeconfig + cluster namespace as k8s-container (K8S_CONTAINER_SP_* above). | ||
| # THREE_TIER_SP_NAME=three-tier-provider | ||
|
|
||
| # ACM cluster service provider (profile: acm-cluster) | ||
| # Supports two platforms: KubeVirt (default) and BareMetal. | ||
| # Both enabled by default (SP_ENABLED_PLATFORMS=kubevirt,baremetal). | ||
| # ACM_CLUSTER_SP_NAME=acm-cluster-sp | ||
| # ACM_CLUSTER_SP_BASE_DOMAIN=apps.example.com | ||
| # ACM_CLUSTER_SP_PULL_SECRET=<base64-encoded-dockerconfigjson> | ||
| # BareMetal platform only — not used by KubeVirt: | ||
| # ACM_CLUSTER_SP_DEFAULT_INFRA_ENV=my-infra-env | ||
| # ACM_CLUSTER_SP_AGENT_NAMESPACE=my-agent-namespace | ||
|
|
||
| # --- Service image versions --- | ||
| # Pin specific versions instead of "main". Valid values: | ||
| # main - most recent main build (default) | ||
| # v0.0.1 - final release (from git tag) | ||
| # v0.0.1-rc.3 - release candidate (from release branch) | ||
| # abc1234 - specific commit build (for local testing only) | ||
| # CONTROL_PLANE_VERSION=main | ||
| # KUBEVIRT_SERVICE_PROVIDER_VERSION=main | ||
| # K8S_CONTAINER_SERVICE_PROVIDER_VERSION=main | ||
| # K8S_STORAGE_SERVICE_PROVIDER_VERSION=main | ||
| # ACM_CLUSTER_SERVICE_PROVIDER_VERSION=main | ||
| # THREE_TIER_DEMO_SERVICE_PROVIDER_VERSION=main | ||
| # DCM_UI_VERSION=main | ||
| # KubeVirt service provider (profile: kubevirt) | ||
| # KUBEVIRT_KUBECONFIG=~/.kube/config | ||
| # KUBEVIRT_PROVIDER_NAME=kubevirt-service-provider | ||
| # KUBERNETES_NAMESPACE=default | ||
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.