From a02b719d7fd7751e3147e5d4e3e27719043d0e7c Mon Sep 17 00:00:00 2001
From: "Mikhail Piatliou (EPAM)" <mikhail_piatliou@epam.com>
Date: Thu, 1 Dec 2022 13:46:32 +0000
Subject: [PATCH] Add secret name entity for bootstrap [GONRG-6060]

---
 NOTICE                                       | 5 +++++
 provider/partition-gcp/bootstrap/data_gcp.sh | 4 ++++
 2 files changed, 9 insertions(+)

diff --git a/NOTICE b/NOTICE
index dc4b4d01e..aa7550b48 100644
--- a/NOTICE
+++ b/NOTICE
@@ -377,6 +377,7 @@ The following software have components provided under the terms of this license:
 - Cloud Key Management Service (KMS) API v1-rev20220407-1.32.1 (from <https://repo1.maven.org/maven2/com/google/apis/google-api-services-cloudkms>)
 - Cloud Key Management Service (KMS) API v1-rev20220617-1.32.1 (from <https://repo1.maven.org/maven2/com/google/apis/google-api-services-cloudkms>)
 - Cloud Key Management Service (KMS) API v1-rev20220701-1.32.1 (from <https://repo1.maven.org/maven2/com/google/apis/google-api-services-cloudkms>, https://repo1.maven.org/maven2/com/google/apis/google-api-services-cloudkms)
+- Cloud Key Management Service (KMS) API v1-rev20221107-2.0.0 (from https://repo1.maven.org/maven2/com/google/apis/google-api-services-cloudkms)
 - Cloud Storage JSON API (from <https://repo1.maven.org/maven2/com/google/apis/google-api-services-storage>, https://repo1.maven.org/maven2/com/google/apis/google-api-services-storage)
 - Cloud Storage JSON API v1-rev20220604-1.32.1 (from <https://repo1.maven.org/maven2/com/google/apis/google-api-services-storage>)
 - Cloud Storage JSON API v1-rev20220608-1.32.1 (from <https://repo1.maven.org/maven2/com/google/apis/google-api-services-storage>)
@@ -699,6 +700,8 @@ The following software have components provided under the terms of this license:
 - API Common (from <https://github.com/googleapis/api-common-java>, <https://github.com/googleapis>, https://github.com/googleapis, https://github.com/googleapis/api-common-java)
 - Apache Commons CLI (from <https://commons.apache.org/proper/commons-cli/>, <https://repo1.maven.org/maven2/commons-cli/commons-cli>, https://commons.apache.org/proper/commons-cli/, https://repo1.maven.org/maven2/commons-cli/commons-cli)
 - GAX (Google Api eXtensions) (from <https://github.com/googleapis/gax-java>, <https://github.com/googleapis>, https://github.com/googleapis, https://github.com/googleapis/gax-java)
+- GAX (Google Api eXtensions) for Java (Core) (from https://repo1.maven.org/maven2/com/google/api/gax)
+- GAX (Google Api eXtensions) for Java (gRPC) (from https://repo1.maven.org/maven2/com/google/api/gax-grpc)
 - Hamcrest (from <http://hamcrest.org/JavaHamcrest/>, http://hamcrest.org/JavaHamcrest/)
 - Hamcrest Core (from <http://hamcrest.org/>, <http://hamcrest.org/JavaHamcrest/>, <https://repo1.maven.org/maven2/org/hamcrest/hamcrest-core>, http://hamcrest.org/, http://hamcrest.org/JavaHamcrest/, https://repo1.maven.org/maven2/org/hamcrest/hamcrest-core)
 - HdrHistogram (from <http://hdrhistogram.github.io/HdrHistogram/>, http://hdrhistogram.github.io/HdrHistogram/)
@@ -727,6 +730,8 @@ The following software have components provided under the terms of this license:
 - AspectJ Weaver (from <http://www.aspectj.org>, <https://www.eclipse.org/aspectj/>, http://www.aspectj.org, https://www.eclipse.org/aspectj/)
 - Expression Language 3.0 (from <http://el-spec.java.net>, <http://uel.java.net>, <https://projects.eclipse.org/projects/ee4j.el>, http://el-spec.java.net, http://uel.java.net, https://projects.eclipse.org/projects/ee4j.el)
 - GAX (Google Api eXtensions) (from <https://github.com/googleapis/gax-java>, <https://github.com/googleapis>, https://github.com/googleapis, https://github.com/googleapis/gax-java)
+- GAX (Google Api eXtensions) for Java (Core) (from https://repo1.maven.org/maven2/com/google/api/gax)
+- GAX (Google Api eXtensions) for Java (gRPC) (from https://repo1.maven.org/maven2/com/google/api/gax-grpc)
 - Google APIs Client Library for Java (from <https://repo1.maven.org/maven2/com/google/api-client/google-api-client>, https://repo1.maven.org/maven2/com/google/api-client/google-api-client)
 - Google Auth Library for Java - Credentials (from <https://repo1.maven.org/maven2/com/google/auth/google-auth-library-credentials>, https://repo1.maven.org/maven2/com/google/auth/google-auth-library-credentials)
 - Google Auth Library for Java - OAuth2 HTTP (from <https://repo1.maven.org/maven2/com/google/auth/google-auth-library-oauth2-http>, https://repo1.maven.org/maven2/com/google/auth/google-auth-library-oauth2-http)
diff --git a/provider/partition-gcp/bootstrap/data_gcp.sh b/provider/partition-gcp/bootstrap/data_gcp.sh
index 7e4f1815c..1408636bd 100644
--- a/provider/partition-gcp/bootstrap/data_gcp.sh
+++ b/provider/partition-gcp/bootstrap/data_gcp.sh
@@ -51,6 +51,10 @@ generate_post_data_gcp() {
     "elasticsearch.password": {
       "sensitive": true,
       "value": "ELASTIC_PASS_${DATA_PARTITION_ID_UPPER}"
+    },
+    "kubernetes-secret-name": {
+      "sensitive": false,
+      "value": "eds-${DATA_PARTITION_ID}"
     }
   }
 }
-- 
GitLab