File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change 1
1
#! /bin/bash
2
2
3
- gcloud builds submit --project=hangops-jobbot --config .hangops/gke-build-config.yaml
3
+ gcloud builds submit --project=hangops-jobbot --config .hangops/gke-build-config.yaml
Original file line number Diff line number Diff line change 8
8
exit 1
9
9
fi
10
10
11
+ : ${KUBECTL_CONTEXT:= " hangops" }
12
+
11
13
kubectl --context=hangops create secret generic hangops-slack-api-token --save-config --dry-run=client -o yaml --from-literal=SLACK_API_TOKEN=${HANGOPS_SLACK_API_TOKEN} | kubectl --context=hangops apply -f -
12
14
kubectl --context=hangops create secret generic hangops-captcha-config --save-config --dry-run=client -o yaml --from-literal=GOOGLE_CAPTCHA_SECRET=${HANGOPS_GOOGLE_CAPTCHA_SECRET} --from-literal=GOOGLE_CAPTCHA_SITEKEY=${HANGOPS_GOOGLE_CAPTCHA_SITEKEY} -eLLeFwLP7fbbq | kubectl --context=hangops apply -f -
You can’t perform that action at this time.
0 commit comments