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