#/bin/bash # set source env variables . ./.env export $(cut -d= -f1 ./.env) envsubst < secret.yaml | kubectl apply -f -