1
0
Fork 0
forked from infra/ansible
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
This commit is contained in:
Aurélien Bompard 2026-06-27 00:11:06 +02:00
commit ee0afdd0aa
Signed by untrusted user: abompard
GPG key ID: 31584CFEB9BF64AD
3 changed files with 8 additions and 6 deletions

View file

@ -34,6 +34,8 @@
queue_thresholds:
warning: 10
critical: 100
# does not publish messages
user_sent_topics: ^$
- role: openshift/secret-file
secret_file_app: jira-sync
secret_file_secret_name: fedora-messaging-ca

View file

@ -11,7 +11,7 @@ spec:
git:
#uri: https://github.com/Zlopez/jira_sync.git
uri: https://github.com/abompard/jira_sync.git
ref: "{{ (env == 'staging')|ternary('main', 'main') }}"
ref: "{{ (env == 'staging')|ternary('staging', 'main') }}"
strategy:
type: Source
sourceStrategy:
@ -29,4 +29,4 @@ spec:
- type: ImageChange
- type: GitHub
github:
secret: "{{ (env == 'staging')|ternary(jira-sync_stg_webhook_secret, jira-sync_prod_webhook_secret) }}"
secret: "{{ (env == 'staging')|ternary(jira_sync_stg_webhook_secret, jira_sync_prod_webhook_secret) }}"

View file

@ -4,7 +4,7 @@ apiVersion: v1
metadata:
name: jira-sync
stringData:
jira-token: "{{ (env == 'staging')|ternary(jira-sync_stg_jira_token, jira-sync_prod_jira_token) }}"
githubcom-token: "{{ (env == 'staging')|ternary(jira-sync_stg_githubcom_token, jira-sync_prod_githubcom_token) }}"
gitlabcom-token: "{{ (env == 'staging')|ternary(jira-sync_stg_gitlabcom_token, jira-sync_prod_gitlabcom_token) }}"
codebergorg-token: "{{ (env == 'staging')|ternary(jira-sync_stg_codebergorg_token, jira-sync_prod_codebergorg_token) }}"
jira-token: "{{ (env == 'staging')|ternary(jira_sync_stg_jira_token, jira_sync_prod_jira_token) }}"
githubcom-token: "{{ (env == 'staging')|ternary(jira_sync_stg_githubcom_token, jira_sync_prod_githubcom_token) }}"
gitlabcom-token: "{{ (env == 'staging')|ternary(jira_sync_stg_gitlabcom_token, jira_sync_prod_gitlabcom_token) }}"
codebergorg-token: "{{ (env == 'staging')|ternary(jira_sync_stg_codebergorg_token, jira_sync_prod_codebergorg_token) }}"