From 94625a45ecbab606945ea3e31c071d9f2fb99c97 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aur=C3=A9lien=20Bompard?= Date: Mon, 20 Feb 2023 09:36:31 +0100 Subject: [PATCH] FMN: don't run the IRC sender in prod as well 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 | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/roles/openshift-apps/fmn/templates/deploymentconfig.yml b/roles/openshift-apps/fmn/templates/deploymentconfig.yml index 9d1f359338..cb289474ab 100644 --- a/roles/openshift-apps/fmn/templates/deploymentconfig.yml +++ b/roles/openshift-apps/fmn/templates/deploymentconfig.yml @@ -354,7 +354,9 @@ metadata: spec: # There can be only one pod for IRC # Staging is currently unable to connect to IRC outside because of firewall rules. - replicas: {{ (env == 'production')|ternary('1', '0') }} + # replicas: {{ (env == 'production')|ternary('1', '0') }} + # Don't start in prod either until we have a secondary IRC account + replicas: 0 selector: app: fmn deploymentconfig: sender-irc