No description
This repository has been archived on 2026-04-20. You can view files and clone it, but you cannot make any changes to its state, such as pushing and creating new issues, pull requests or comments.
  • Python 83%
  • Shell 17%
Find a file
2024-04-24 13:31:13 +00:00
.github/workflows Remove Flux Update Action 2024-04-18 12:27:40 +01:00
automation hades production update flux tag pattern (#559) 2024-04-24 16:29:58 +03:00
bases Fixes for StatefulSet Deployment 2024-04-24 07:30:11 +01:00
clusters [ci skip] binkcore.azurecr.io/hades:production-v2.9.2 2024-04-24 13:31:13 +00:00
overlays Nightcity Deployments (#556) 2024-04-23 16:00:32 +01:00
s trailing white spaces remove 2023-11-06 10:51:51 +00:00
.gitignore BPL-171: added scheduler cmd for voucher updates 2021-08-27 13:44:02 +01:00
CODEOWNERS Update CODEOWNERS 2021-07-21 09:00:48 +00:00
README.md Adding a test file 2023-10-30 00:03:53 +00:00
renovate.json Update Renovate Assignment 2024-04-18 12:42:22 +01:00

GitOps Core

This is complicated, where should I go?

Depending on what you're trying to do, you'll need to go to the appropriate directory to affect changes.

  • bases
    • Core structure of Kubernetes Kustomizations, no environment specific configuration, changes here apply to ALL clusters, production included.
  • overlays
    • Environment specific configuration of Kustomizations from the bases directory.
  • clusters
    • Informs Flux what it should be deploying, each instance of Flux monitors a different subdirectory here.

Bootstrapping and Upgrading

Bootstrapping

Flux gets installed by Chef during the Cluster creation phase with a set of pre-defined YAML files, once Flux syncs with this repository it'll upgrade itself to whatever is defined here and deploy all relevant projects.

Upgrading

Flux can be upgraded in Dev with the following command

$ export GITHUB_TOKEN=<token>
$ flux bootstrap github \
          --components-extra=image-reflector-controller,image-automation-controller \
          --owner=binkhq \
          --repository=gitops \
          --branch=master \
          --path=clusters/uksouth-dev

We then use the following cp command to copy the manifest changes to all other environments (fish syntax):

$ for i in clusters/*
       cp clusters/uksouth-dev/flux-system/gotk-components.yaml $i/flux-system/gotk-components.yaml
  end