// readme

cnp-flux-config

Flux v2 config for CFT AKS clusters

Repo Structure

Please see Repo setup for details on how this repo is organized and meant to work.

Adding an app to flux

  • All App deployments are managed through HelmRelease manifests.
  • Any new/existing application that is getting added to an environment for the first time should use Flux v2.

Encrypting Secrets With Sops

Secrets can be stored in this repository but they must be encrypted using the SOPS tool.

Click here for info on how to setup SOPS.

Preventing commit of secrets

To prevent unencrypted secrets being committed to this repository, a pre-commit hook has been provided via .pre-commit-config.yaml

To install it, run brew install pre-commit and then pre-commit install on macOS or Linux (with homebrew).

On the first commit after installing, pyyaml will be downloaded and installed to parse the yaml files in the repo.

This will take a bit longer than…