You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There is no environments/ tree of ConfigMaps in this repo. Environment is a
label on the ArgoCD cluster Secret, stamped by landing-zone
cluster-bootstrap when the cluster is registered with the hub.
Label / annotation
Set by
Used for
environment: development|staging|production|hub
cluster-bootstrap
ApplicationSet value-file and overlay selection (values-{{ environment }}.yaml)
ApplicationSets read these with {{ index .metadata.labels "environment" }}
(and the matching annotations). A cluster without the label is simply not
selected.
Environments
Environment
Purpose
Typical cluster name
Kyverno Mode
development
Development and testing
development-platform
Audit
staging
Pre-production validation
staging-platform
Enforce
production
Live workloads
production-platform
Enforce
hub
eks-fleet management plane (Crossplane + ArgoCD + portal). Bootstrap + observability only — excluded from the workload catalog.
hub-fleet
n/a
Environment differences
Per-env behaviour lives in addon deltas, not a central ConfigMap:
The bucket name is not committed. landing-zone builds it per cluster;
cluster-bootstrap publishes velero/backup-bucket on the Secret;
addons-velero injects it. Development is environment NotIn [hub, development].
Adding a new environment
landing-zone: vend the cluster and ensure cluster-bootstrap stamps
environment: <name> (and the other labels/annotations the appsets need)
on the ArgoCD cluster Secret.
For Helm addons: add values-<name>.yaml deltas under each addon that
differs from base.
For Kustomize addons: add overlays/<name>/.
For policies: Audit vs Enforce overlay as appropriate.
Confirm ApplicationSets select the new cluster
(kubectl get applications -n argocd on the hub).