How to synchronise your secrets and configMaps hosted on Git with your Kubernetes cluster using modern tools.

Photo by Stefan Steinbauer on Unsplash

We heard a lot about syncing secrets on Kubernetes using SealedSecrets, Vault, …

But I did not find an example that fits my needs and it seems like there are multiple ways to do it. Let’s make it simple !

The old dirty process before GitOps :

  • Create the secret
  • Apply it on the cluster
  • Backup it somewhere safe (or use tools like velero )
  • Make this process scheduled with a cron.

The GitOps way :

  • Create the secret
  • Save it on git…

Yoan de LUCA

French Devops/Infrastructure engineer who loves automation and container orchestration.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store