Closed laszlocph closed 8 months ago
export PAT=github_pat_xxxx export GITHUB_URL_WITH_PAT=https://$PAT@github.com/laszlocph/reactjs-test-app-private.git kubectl create secret generic git-creds --from-literal=gitCloneUrl=$GITHUB_URL_WITH_PAT
#values.yaml - gitCloneUrl: https://github.com/laszlocph/reactjs-test-app.git + gitCloneUrlSecretName: git-creds buildImage: "node:20.10-buster" buildScript: npm install && npm run build builtAssets: build/
helm template my-react-site onechart/static-site -f values.yaml | kubectl apply -f -