Fix the planet's github webhook secret

Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
This commit is contained in:
Aurélien Bompard 2025-05-27 10:35:23 +02:00
parent 8254b70300
commit 639d3145cd
No known key found for this signature in database
GPG key ID: 31584CFEB9BF64AD

View file

@ -22,14 +22,6 @@ spec:
triggers:
- type: ConfigChange
- type: ImageChange
{% if env == 'staging' %}
- type: GitHub
github:
secretReference:
name: planet_stg_github_secret
{% elif env == 'production' %}
- type: GitHub
github:
secretReference:
name: planet_github_secret
{% endif %}
secret: "{{ (env == 'staging')|ternary(planet_stg_github_secret, planet_github_secret) }}"