Budiman JoJo

Life Journey of My Geeky Needs.

Variable Substitution in Flux GitOps

2021-10-27 3 min read Kubernetes Linux Self Hosted Budimanjojo

variable substitution in flux

Sometimes there are values that you want to use multiple times in your manifest files. Usually, we define them using a config map or secret and we either mount them as a file or environment variable. This is easy if you don’t use GitOps and have a small amount of pods. Also, having a single configmap and secret will clean up a lot of mess out of your cluster, and this is what variable substitution will do for you. I find this really useful especially for sensitive information you don’t want people all around the world to see. In this post, I will show you how I do variable substitution using Flux GitOps tool.

Continue reading