Skip to content

Commit

Permalink
update extenal-secret gcsm
Browse files Browse the repository at this point in the history
  • Loading branch information
kundan59 committed Sep 13, 2023
1 parent ce80992 commit 2a6a24f
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion deployment/gcpresources/terraform/external-secret-gcsm.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 2a6a24f

Please sign in to comment.