From ca256971441af39a4b280d0c18bc0be42dfc89a3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aur=C3=A9lien=20Bompard?= Date: Wed, 15 Feb 2023 13:49:49 +0100 Subject: [PATCH] FMN: disable IRC on staging MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Aurélien Bompard --- roles/openshift-apps/fmn/templates/deploymentconfig.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/roles/openshift-apps/fmn/templates/deploymentconfig.yml b/roles/openshift-apps/fmn/templates/deploymentconfig.yml index 768565bed3..9d1f359338 100644 --- a/roles/openshift-apps/fmn/templates/deploymentconfig.yml +++ b/roles/openshift-apps/fmn/templates/deploymentconfig.yml @@ -353,7 +353,8 @@ metadata: app: fmn spec: # There can be only one pod for IRC - replicas: 1 + # Staging is currently unable to connect to IRC outside because of firewall rules. + replicas: {{ (env == 'production')|ternary('1', '0') }} selector: app: fmn deploymentconfig: sender-irc