mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-05-12 10:56:20 +08:00
Planet: add secret reference
Signed-off-by: Pedro Moura <pmoura@redhat.com>
This commit is contained in:
@@ -21,6 +21,14 @@ spec:
|
||||
triggers:
|
||||
- type: ConfigChange
|
||||
- type: ImageChange
|
||||
{% if env == 'staging' %}
|
||||
- type: GitHub
|
||||
github:
|
||||
secret: "{{ planet_stg_github_secret }}"
|
||||
secretReference:
|
||||
name: planet-stg-github-webhook-secret
|
||||
{% elif env == 'production' %}
|
||||
- type: GitHub
|
||||
github:
|
||||
secretReference:
|
||||
name: planet-github-webhook-secret
|
||||
{% endif %}
|
||||
|
||||
Reference in New Issue
Block a user