Skip to content

Latest commit

 

History

History
52 lines (37 loc) · 1.22 KB

config-syncer.md

File metadata and controls

52 lines (37 loc) · 1.22 KB

Config Syncer

Config Syncer is a tool that allows you to sync your configuration files across multiple machines.

Their documentation.

Deploying Config Syncer

  1. Create and change directory to infrastructure/base/config-syncer

  2. Create namespace.yaml

kubectl create namespace config-syncer \
  --dry-run=client \
  --output=yaml > namespace.yaml
  1. Create helmrepository.yaml
flux create source helm config-syncer \
    --interval=1h \
    --url=https://charts.config-syncer.com \
    --export > helmrepository.yaml
  1. 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
  1. Create kustomization.yaml
kustomize create --autodetect
  1. Commit your changes to Git

Synchronize Configuration across Namespaces

Visit the their guide for more information.