From c367dd86a0cc7b5173383181b47c82af82fe0e5d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Aleksandr=20Primachenko=20=5BEPAM=C2=A0/=20GCP=5D?=
 <aleksandr_primachenko@epam.com>
Date: Fri, 13 Oct 2023 10:53:19 +0000
Subject: [PATCH] [GONRG-7917] added replicas variable in helm

---
 NOTICE                                     | 1 -
 devops/gc/deploy/templates/deployment.yaml | 2 +-
 devops/gc/deploy/values.yaml               | 1 +
 3 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/NOTICE b/NOTICE
index 6b07bb659..3d969b23b 100644
--- a/NOTICE
+++ b/NOTICE
@@ -862,7 +862,6 @@ The following software have components provided under the terms of this license:
 - Azure Java Client Runtime for AutoRest (from https://github.com/Azure/autorest-clientruntime-for-java)
 - Azure Spring Boot AutoConfigure (from https://github.com/Azure/azure-sdk-for-java, https://github.com/Microsoft/azure-spring-boot)
 - Azure Spring Boot Starter for Azure AD Spring Security Integration (from https://github.com/Azure/azure-sdk-for-java)
-- Bouncy Castle Provider (from http://www.bouncycastle.org/java.html, https://www.bouncycastle.org/java.html)
 - Checker Qual (from https://checkerframework.org)
 - ClassGraph (from https://github.com/classgraph/classgraph)
 - Cucumber Expressions (from https://github.com/cucumber/cucumber-expressions-java)
diff --git a/devops/gc/deploy/templates/deployment.yaml b/devops/gc/deploy/templates/deployment.yaml
index ddd96beac..b9dd90d03 100644
--- a/devops/gc/deploy/templates/deployment.yaml
+++ b/devops/gc/deploy/templates/deployment.yaml
@@ -9,7 +9,7 @@ spec:
   selector:
     matchLabels:
       app: {{ .Values.conf.appName | quote }}
-  replicas: 1
+  replicas: {{ .Values.conf.replicas }}
   template:
     metadata:
       labels:
diff --git a/devops/gc/deploy/values.yaml b/devops/gc/deploy/values.yaml
index 024c7b841..e9b434375 100644
--- a/devops/gc/deploy/values.yaml
+++ b/devops/gc/deploy/values.yaml
@@ -36,6 +36,7 @@ conf:
   minioSecretName: "schema-minio-secret"
   postgresSecretName: "schema-postgres-secret"
   rabbitmqSecretName: "rabbitmq-secret"
+  replicas: 1
 
 istio:
   proxyCPU: "90m"
-- 
GitLab