Skip to content

Commit bafbff5

Browse files
committed
cleanup
1 parent 3ac86b1 commit bafbff5

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

.hangops/deploy.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
#!/bin/bash
22

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

.hangops/update-secrets.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,7 @@ else
88
exit 1
99
fi
1010

11+
: ${KUBECTL_CONTEXT:="hangops"}
12+
1113
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 -
1214
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 -

0 commit comments

Comments
 (0)