Config Syncer is a tool that allows you to sync your configuration files across multiple machines.
Their documentation.
-
Create and change directory to
infrastructure/base/config-syncer
-
Create
namespace.yaml
kubectl create namespace config-syncer \
--dry-run=client \
--output=yaml > namespace.yaml
- Create
helmrepository.yaml
flux create source helm config-syncer \
--interval=1h \
--url=https://charts.config-syncer.com \
--export > helmrepository.yaml
- Create
helmrelease.yaml
flux create helmrelease config-syncer \
--interval=1h \
--release-name=config-syncer \
--namespace=config-syncer \
--target-namespace=config-syncer \
--source=HelmRepository/config-syncer.flux-system \
--chart=config-syncer \
--chart-version=">=0.14.5-0" \
--export > helmrelease.yaml
- Create
kustomization.yaml
kustomize create --autodetect
- Commit your changes to Git
Visit the their guide for more information.