Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Doc] Minor doc update #2394

Merged
merged 7 commits into from
Oct 24, 2019
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Add namespace
  • Loading branch information
numerology committed Oct 24, 2019
commit bf28e1dbf217a50ebc1a0550bf4d4a2c7e50232f
4 changes: 4 additions & 0 deletions manifests/gcp_marketplace/guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ gcloud container clusters get-credentials "$CLUSTER" --zone "$ZONE" --project "$
Then you can create a service account with the necessary IAM permissions
```
export SA_NAME=<my-account>
export NAMESPACE=<namespace-where-kfp-was-installed>
# Create service account
gcloud iam service-accounts create $SA_NAME --display-name $SA_NAME --project "$PROJECT_ID"
gcloud projects add-iam-policy-binding $PROJECT_ID \
Expand All @@ -51,6 +52,9 @@ and store the service account credential as a Kubernetes secret `user-gcp-sa` in
```
gcloud iam service-accounts keys create application_default_credentials.json --iam-account $SA_NAME@$PROJECT_ID.iam.gserviceaccount.com

# Make sure the secret is created under the correct namespace.
kubectl config set-context --current --namespace=$NAMESPACE

kubectl create secret generic user-gcp-sa \
numerology marked this conversation as resolved.
Show resolved Hide resolved
--from-file=user-gcp-sa.json=application_default_credentials.json \
--dry-run -o yaml | kubectl apply -f -
Expand Down