From 0c175927b0022542db0ef742a18a78c95caf014a Mon Sep 17 00:00:00 2001
From: "Aliaksandr Ramanovich (EPAM)" <aliaksandr_ramanovich1@epam.com>
Date: Wed, 31 Jul 2024 21:43:23 +0000
Subject: [PATCH] Gonrg 9879 global configuration

---
 devops/gc/deploy/README.md                | 1 -
 devops/gc/deploy/templates/configmap.yaml | 1 -
 devops/gc/deploy/values.yaml              | 1 -
 3 files changed, 3 deletions(-)

diff --git a/devops/gc/deploy/README.md b/devops/gc/deploy/README.md
index 2b3a65788..6a055d4dd 100644
--- a/devops/gc/deploy/README.md
+++ b/devops/gc/deploy/README.md
@@ -45,7 +45,6 @@ You need to set variables in **values.yaml** file using any code editor. Some of
 **data.partitionHost** | Partition service host | string | `http://partition` | yes
 **data.policyId** | policy id from ex `${POLICY_HOST}/api/policy/v1/policies` | string | `search` | yes
 **data.securityHttpsCertificateTrust** | Elastic client connection uses TrustSelfSignedStrategy(), if it is `true` | bool | `true` | yes
-**data.servicePolicyEnabled** | Enables Search service integration with Policy service | bool | `false` | yes
 **data.redisSearchHost** | The host for redis instance. If empty (by default), helm installs an internal redis instance | string | - | yes
 **data.redisSearchPort** | The port for redis instance | digit | 6379 | yes
 
diff --git a/devops/gc/deploy/templates/configmap.yaml b/devops/gc/deploy/templates/configmap.yaml
index 7ff0ec68a..04ff821e0 100644
--- a/devops/gc/deploy/templates/configmap.yaml
+++ b/devops/gc/deploy/templates/configmap.yaml
@@ -27,4 +27,3 @@ data:
   POLICY_HOST: {{ .Values.data.policyHost | quote }}
   POLICY_ID: {{ .Values.data.policyId | quote }}
   INDEXER_BASE_HOST: {{ .Values.data.indexerHost | quote }}
-  SERVICE_POLICY_ENABLED: {{ .Values.data.servicePolicyEnabled | quote }}
diff --git a/devops/gc/deploy/values.yaml b/devops/gc/deploy/values.yaml
index bde11d3f6..86efde19e 100644
--- a/devops/gc/deploy/values.yaml
+++ b/devops/gc/deploy/values.yaml
@@ -12,7 +12,6 @@ data:
   indexerHost: "http://indexer"
   policyId: 'osdu.partition["%s"].search'
   securityHttpsCertificateTrust: "true"
-  servicePolicyEnabled: false
   # Deployments
   requestsCpu: "35m"
   requestsMemory: "400Mi"
-- 
GitLab