# pipe into less envsubst < config.txt | less # pipe a deployment "deploy.yml" into kubectl apply envsubst < deploy.yml | kubectl apply -f -