📦hmcts / cnp-flux-config
← 返回首页
FluxCD config for AKS clusters
⚖️ MIT#flux📅 创建于 2019-02-26🔄 更新于 2026-10-29
🔗 GitHub Shell

📄 仓库 README

在 GitHub 查看 ↗
来自 GitHub 仓库自述文件 · 版权归原作者所有

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 normal to install but future commits should take place at the normal speed.

This hook will also run as a github action to ensure bypass has not occurred.

The action can be found at sops-secrets

SOPs

Sops fails linting by default as we require 2 spaces while it uses 4 spaces. You can use yq to fix this:

yq eval -I 2 --inplace apps/mi/mi-adf-shir/sbox/mi-adf-auth-values.enc.yaml

upstream issue: https://github.com/mozilla/sops/issues/900

Rebooting nodes with kured

Documentation

Upgrading flux v2

Update flux cli in your local and run bash flux install --export > apps/flux-system/base/gotk-components.yaml flux install --export --components source-controller,kustomize-controller,helm-controller,notification-controller,image-reflector-controller,image-automation-controller > apps/flux-system/ptl-intsvc/base/gotk-components.yaml

As Flux in PTL makes use of optional GOTK image automation components, we generate a second gotk-components.yaml file just for PTL. Information about Flux GOTK components can be found here.

Both files are maintained by Renovate after generation.

📈 近 7 天 Star 趋势

每日新增 Star(柱)与累计 Star(线)· 数据来自 GitHub

🏆 排名变化趋势

在各榜单中的排名历史(数字越小越靠前)

📋 历史上榜记录

每次快照的详细数据
日期 榜单 排名 周期新增 总 STAR