From 2a6a24ff727e26b70ed95f734f2df11336337a3c Mon Sep 17 00:00:00 2001 From: kundan59 Date: Wed, 13 Sep 2023 20:37:57 +0530 Subject: [PATCH] update extenal-secret gcsm --- deployment/gcpresources/terraform/external-secret-gcsm.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/deployment/gcpresources/terraform/external-secret-gcsm.sh b/deployment/gcpresources/terraform/external-secret-gcsm.sh index 763ad80b..886abb8a 100644 --- a/deployment/gcpresources/terraform/external-secret-gcsm.sh +++ b/deployment/gcpresources/terraform/external-secret-gcsm.sh @@ -2,8 +2,11 @@ GKE_CLUSTER="$1" REGION="$2" +# Authenticate car-demo-gke gcloud container clusters get-credentials "$GKE_CLUSTER" --region "$REGION" +# Create gcpsm-secret with credential kubectl create secret generic gcpsm-secret --from-file=secret-access-credentials=key.json - +# Add external-secret using helm chart helm repo add external-secrets https://charts.external-secrets.io +# install external-secrets/external-secrets CRD helm install external-secrets external-secrets/external-secrets -n default --set installCRDs=true \ No newline at end of file