Badges: use jinja comments instead
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
This commit is contained in:
parent
b50c2d5d8a
commit
bce1b9e10c
1 changed files with 16 additions and 12 deletions
|
@ -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 }}"
|
||||
#}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue