Looking at this recently, we decided to just go with sed
. Wrap kubectl apply
in a small bash script and replace the placeholders before running.
We looked at more sophisticated tools, but we found Helm. However, Helm is a sophisticated technology that does more than just templates. This changes your workflow a lot since you no longer deploy with kubectl and must have a Helm package repository to push your packages. Our assessment was that Helm is not useful for deploying our application and using it, since only templating is redundant.
source share