Planet: fix buildconfig identaion

Signed-off-by: Pedro Moura <pmoura@redhat.com>
This commit is contained in:
Pedro Moura 2024-01-29 18:29:21 -03:00 committed by phsmoura
parent 33b2e114a6
commit 4ead1104a0

View file

@ -12,23 +12,23 @@ spec:
git:
uri: https://github.com/fedora-infra/planet
ref: {{ (env == 'production')|ternary('stable', 'staging') }}
strategy:
type: Docker
output:
to:
kind: ImageStreamTag
name: planet:latest
triggers:
- type: ConfigChange
- type: ImageChange
strategy:
type: Docker
output:
to:
kind: ImageStreamTag
name: planet:latest
triggers:
- type: ConfigChange
- type: ImageChange
{% if env == 'staging' %}
- type: GitHub
github:
secretReference:
name: planet_stg_github_secret
- type: GitHub
github:
secretReference:
name: planet_stg_github_secret
{% elif env == 'production' %}
- type: GitHub
github:
secretReference:
name: planet_github_secret
- type: GitHub
github:
secretReference:
name: planet_github_secret
{% endif %}