Kubernetes manifests, Helm values, and Kustomizations used to configure releases on the Shamrock Kubernetes cluster. All releases are Kustomizations.
- Install Python (Version specified in
pyproject.toml) - Install Poetry
poetry initpoetry run task pre-commit-hook
bases/Kustomize base manifestsbases.external/Kustomize external manifests, automatically built byinflatetobases/releases/Release Kustomizations
This repository prohibits the committing of Secret manifests. Please use Sealed Secrets instead. For example:
kubeseal -f secret.yaml -w sealedsecret.yamlHelm charts are configured using Kustomizations in base/, to retrieve values for a given chart, use:
helm show values repo/chart > .\values.yamlUse poetry shell to enable the Python virtual environment.
Use poetry run task pre-commit to run pre-commit at any time, or just wait to git commit.
Use poetry run task inflate to inflate Kustomizations from the bases.external/ directory to the bases/ directory.
This allows bases that reference external assets to be properly versioned in the repository without dependence on the
liveness of those sources.
inflate is currently broken across OSes because the current hashing algorithm does not normalize line breaks.