Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 15 additions & 8 deletions deploy/gitops/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,22 @@ secrets.local.*
# are the only safe-to-commit representation).
secrets-store.yaml

# The wizard writes a concrete inventory.yaml from inventory.yaml.template
# on first `make deploy ENV=local`. Each env's inventory.yaml IS committed
# (it's the source of truth for that cluster's topology), so this ignore
# is intentionally narrow — only the sandbox local copy is gitignored,
# because the wizard regenerates it from the template.
# Wizard-/make-generated artifacts for the LOCAL sandbox env.
#
# Real envs commit all of these — they're the gitops source of truth
# for that cluster. The `local` env is different: it's the starter
# template that the first-run wizard regenerates per-developer, so
# committing the generated files would conflict between contributors
# and pollute the branch. Narrow path-scoped to `environments/local/`
# only; `environments/<other>/sealed-secrets/**/*.yaml` is NOT ignored.
#
# inventory.yaml — wizard writes from inventory.yaml.template
# pub-cert.pem — `make fetch-cert` writes from the cluster
# *-sealedsecret.yaml — `make seal` writes via kubeseal
environments/local/inventory.yaml
environments/local/pub-cert.pem
environments/local/sealed-secrets/*/*-sealedsecret.yaml

# pub-cert is fetched from the cluster via `make fetch-cert`; the
# corresponding generated *.pem is committed, but never the controller's
# private key.
# Never commit the sealed-secrets-controller's private key.
*.key
*.pkcs8
Loading