Skip to content

Latest commit

 

History

History
41 lines (27 loc) · 1.48 KB

README.md

File metadata and controls

41 lines (27 loc) · 1.48 KB

NoodleCases Kubernetes Cluster Manifests

Kubernetes manifests, Helm values, and Kustomizations used to configure releases on the Shamrock Kubernetes cluster. All releases are Kustomizations.

Setup Repository

  1. Install Python (Version specified in pyproject.toml)
  2. Install Poetry
  3. poetry init
  4. poetry run task pre-commit-hook

Structure

  • bases/ Kustomize base manifests
  • bases.external/ Kustomize external manifests, automatically built by inflate to bases/
  • releases/ Release Kustomizations

Tooling

This repository prohibits the committing of Secret manifests. Please use Sealed Secrets instead. For example:

kubeseal -f secret.yaml -w sealedsecret.yaml

Helm charts are configured using Kustomizations in base/, to retrieve values for a given chart, use:

helm show values repo/chart > .\values.yaml

Use 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.