Projects STRLCPY wrongsecrets Commits 679e4efa
🤬
Revision indexing in progress... (symbol navigation in revisions will be accurate after indexed)
  • ■ ■ ■ ■
    gcp/README.md
    skipped 43 lines
    44 44  5. Run `terraform init` (if required, use tfenv to select TF 0.14.0 or higher )
    45 45  6. Run `terraform plan`
    46 46  7. Run `terraform apply`. Note: the apply will take 10 to 20 minutes depending on the speed of the GCP backplane.
    47  -8. When creation is done, run `gcloud container clusters get-credentials wrongsecrets-exercise-cluster --region YOUR_REGION`
     47 +8. When creation is done, run `gcloud container clusters get-credentials wrongsecrets-exercise-cluster --region YOUR_REGION`. Note if it errors on a missing plugin to support `kubectl`, then run `gcloud components install gke-gcloud-auth-plugin` and `gcloud container clusters get-credentials wrongsecrets-exercise-cluster` .
    48 48  9. Run `./k8s-vault-gcp-start.sh`
    49 49   
    50 50  ### GKE ingres for shared deployment
    skipped 32 lines
  • ■ ■ ■ ■
    gcp/k8s-vault-gcp-start.sh
    skipped 10 lines
    11 11  echo "This script is based on the steps defined in https://learn.hashicorp.com/tutorials/vault/kubernetes-minikube. Vault is awesome!"
    12 12   
    13 13  export GCP_PROJECT=$(gcloud config list --format 'value(core.project)' 2>/dev/null)
    14  -export USE_GKE_GCLOUD_AUTH_PLUGIN=True
     14 +#export USE_GKE_GCLOUD_AUTH_PLUGIN=True
    15 15   
    16 16  kubectl get configmaps | grep 'secrets-file' &>/dev/null
    17 17  if [ $? == 0 ]; then
    skipped 57 lines
Please wait...
Page is in error, reload to recover