News for hackers. Stuff that matters.
Re:How we migrated onto K8s in less than 12 months by hronecviktor on Sunday August 11, 2024 @04:56PM (#41219258)
Trivial to work around using _envsubst_ utility (part of _gettext_). If you write something like: name: app-$KUSTOMIZE_NAMESPACE and run `kubectl kustomize | envsubst "$(printf '${%s} ' ${!KUSTOMIZE_} ${!CI_} ${!GITLAB_*})" | kubectl apply -f -` it will substitute the env vars that match the wildcard.

There are no comments on this comment yet.