Browse Source

fix: hook url leak

pull/88/head
gitromba 4 years ago
parent
commit
d0837170d4
  1. 7
      guestbook/notification.yaml

7
guestbook/notification.yaml

@ -11,6 +11,9 @@ spec:
containers: containers:
- name: slack-notification - name: slack-notification
image: curlimages/curl image: curlimages/curl
envFrom:
- secretRef:
name: slack
command: command:
- "curl" - "curl"
- "-X" - "-X"
@ -18,7 +21,7 @@ spec:
- "-H" - "-H"
- "Content-type: application/json" - "Content-type: application/json"
- "--data" - "--data"
- "{\"text\": \"nemjuhuuu\"}" - "{\"text\": \"juhuu\"}"
- "https://hooks.slack.com/services/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" - "$(HOOK_URL)"
restartPolicy: Never restartPolicy: Never
backoffLimit: 2 backoffLimit: 2

Loading…
Cancel
Save