Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: