Skip to main content

File Locations

Purpose: For platform engineers, provides paths for config files, generated output, keys, caches, and kubeconfigs.

Configuration Files

FileDescription
~/.config/opencenter/clusters/<org>/<cluster>/.<cluster>-config.yamlCluster configuration
~/.config/opencenter/config.yamlGlobal CLI settings

The --config global flag overrides the default config path for any command.

Generated Repository

After opencenter cluster setup, the customer repo is created at:

customers/<customer-id>-<customer-name>/

Key paths within the repo:

PathDescription
infrastructure/clusters/<cluster>/main.tfTerraform entry point
infrastructure/clusters/<cluster>/inventory/Kubespray inventory and group_vars
infrastructure/clusters/<cluster>/kubeconfig.yamlCluster kubeconfig (post-provision)
applications/overlays/<cluster>/flux-system/FluxCD bootstrap manifests
applications/overlays/<cluster>/services/sources/GitRepository CRDs
applications/overlays/<cluster>/services/fluxcd/Kustomization CRDs
applications/overlays/<cluster>/managed-services/Customer application manifests

Encryption Keys

PathDescription
secrets/age/<cluster>_keys.txtSOPS Age private key
secrets/ssh/<cluster>_id_ed25519SSH private key
secrets/ssh/<cluster>_id_ed25519.pubSSH public key

These files are local-only and must not be committed to Git. The Age key is synced to the cluster as a Kubernetes Secret (sops-age in flux-system namespace) by opencenter cluster bootstrap.

SOPS Configuration

PathScope
.sops.yaml (repo root)Organization-wide encryption rules
infrastructure/clusters/<cluster>/.sops.yamlInfrastructure secrets
applications/overlays/<cluster>/.sops.yamlApplication secrets

Air-Gap Build Paths

After opencenter-airgap init:

PathDescription
config/versions.envComponent version pinning
config/components.yamlComponent manifest
build/Intermediate build artifacts
dist/Final Zarf package output
assets/Static assets bundled into package

Logs

PathDescription
~/.config/opencenter/logs/CLI operation logs
build.logAir-gap build log (in project root)

Kubeconfig

After infrastructure provisioning, the kubeconfig is written to:

infrastructure/clusters/<cluster>/kubeconfig.yaml

The opencenter cluster env command sets KUBECONFIG to this path automatically.