Add webhook triggers for ipsilon-website

Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
This commit is contained in:
Aurélien Bompard 2022-05-27 17:13:42 +02:00
parent 1bc48f6751
commit f0d1656bae
No known key found for this signature in database
GPG key ID: 31584CFEB9BF64AD

View file

@ -22,3 +22,11 @@ spec:
triggers:
- type: ConfigChange
- type: ImageChange
- type: "Generic"
generic:
secretReference:
{% if env == "staging" %}
name: "{{ ipsilon_website_stg_webhook_secret }}"
{% else %}
name: "{{ ipsilon_website_webhook_secret }}"
{% endif %}