1 min readJun 17, 2016
Thanks for the article. Just 2 tips to hopefully make some things easier for you.
- You don’t have to cat the yaml and pipe to kubectl. You can just do kubectl create -f file.yaml
- You don’t need to do that ugly sed substitute on the file. Instead use NAMESPACE=foo envsubst file.yaml | kubectl create -f -