Badges: use jinja comments instead

Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
This commit is contained in:
Aurélien Bompard 2024-03-22 08:10:27 +01:00
parent b50c2d5d8a
commit bce1b9e10c
No known key found for this signature in database
GPG key ID: 31584CFEB9BF64AD

View file

@ -29,12 +29,14 @@ spec:
triggers:
- type: ConfigChange
- type: ImageChange
# - type: GitHub
# github:
# # Not sure why secretReference does not work, but it doesn't.
# # secretReference:
# # name: github-webook
# secret: "{{ badges_stg_github_secret }}"
{#
- type: GitHub
github:
# Not sure why secretReference does not work, but it doesn't.
# secretReference:
# name: github-webook
secret: "{{ badges_stg_github_secret }}"
#}
---
apiVersion: build.openshift.io/v1
kind: BuildConfig
@ -65,9 +67,11 @@ spec:
triggers:
- type: ConfigChange
- type: ImageChange
# - type: GitHub
# github:
# # Not sure why secretReference does not work, but it doesn't.
# # secretReference:
# # name: github-webook
# secret: "{{ badges_stg_github_secret }}"
{#
- type: GitHub
github:
# Not sure why secretReference does not work, but it doesn't.
# secretReference:
# name: github-webook
secret: "{{ badges_stg_github_secret }}"
#}