You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dlab.apache.org by om...@apache.org on 2019/07/26 08:11:19 UTC

[incubator-dlab] branch DLAB-terraform updated: Added condition for count of Keycloak replicas

This is an automated email from the ASF dual-hosted git repository.

omartushevskyi pushed a commit to branch DLAB-terraform
in repository https://gitbox.apache.org/repos/asf/incubator-dlab.git


The following commit(s) were added to refs/heads/DLAB-terraform by this push:
     new c3d8cf8  Added condition for count of Keycloak replicas
c3d8cf8 is described below

commit c3d8cf8743bdae06a1327101262410ae09d0e50e
Author: Oleh Martushevskyi <Ol...@epam.com>
AuthorDate: Fri Jul 26 11:11:08 2019 +0300

    Added condition for count of Keycloak replicas
---
 .../terraform/aws/ssn-helm-charts/main/keycloak.tf                      | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/infrastructure-provisioning/terraform/aws/ssn-helm-charts/main/keycloak.tf b/infrastructure-provisioning/terraform/aws/ssn-helm-charts/main/keycloak.tf
index d3f4101..2a400f9 100644
--- a/infrastructure-provisioning/terraform/aws/ssn-helm-charts/main/keycloak.tf
+++ b/infrastructure-provisioning/terraform/aws/ssn-helm-charts/main/keycloak.tf
@@ -45,7 +45,7 @@ data "template_file" "keycloak_values" {
     mysql_db_name           = var.mysql_db_name
     mysql_user              = var.mysql_user
     mysql_user_password     = var.mysql_user_password
-    replicas_count          = var.ssn_k8s_workers_count
+    replicas_count          = var.ssn_k8s_workers_count > 3 ? 3 : var.ssn_k8s_workers_count
   }
 }
 


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@dlab.apache.org
For additional commands, e-mail: commits-help@dlab.apache.org