capsule
capsule copied to clipboard
Document how to use Capsule with GCP
Describe the feature
This issue tracks the work to document how to use Capsule in a GCP environment with GKE and GCP IAM.
What would the new user story look like?
As an adopter I'd like to understand how to setup GCP and Kubernetes resources to make Capsule work in GKE with Tenant users as Google Users.
This is a work in progress
- Create/update GKE cluster enabling the Google Groups for Kubernetes RBAC GKE feature
- Create a GCP IAM Group:
- email:
gke-security-group@<domain> - name:
gke-security-group
- Create a GCP IAM Group that will be a Capsule Group, e.g.:
- email:
[email protected] - name:
capsule-group
- Add the
capsule-groupGCP IAM Group above as a member thegke-security-groupGCP IAM Group - Add the Google Users of the Capsule Tenant Owners as members of the
capsule-groupGCP IAM Group - Create a GCP IAM Role to enable the Capsule Tenant Owner Google Users to authenticate to GKE (and Kubernetes) with permissions:
containers.clusters.getcontainers.clusters.GetCredentials
- Assign GCP IAM Role above to Tenant Owner IAM User
- Create/update the used CapsuleConfiguration with as Capsule group the email of the GCP IAM Group
capsule-group(i.e.[email protected])