You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

How to configure Group access using IAM and Kubernetes RBAC

edited Apr 7, 2020 1:09PM in Containers, Kubernetes, & Serverless Functions 3 comments

Summary

Granting access to an IAM group through Kubernetes RBAC isn't working for me

Content

Based on this documentation - https://docs.cloud.oracle.com/en-us/iaas/Content/ContEng/Concepts/contengaboutaccesscontrol.htm I am trying to configure access to Kubernetes for an IAM group.

Steps to reproduce (assumes compartment, cluster, OCI CLI and kubectl configured):

  • Create an IAM group - testgroup
  • Create an IAM user - testuser
  • Put the user testuser into the group testgroup
  • Create a Policy in your compartment - kubernetes_dev_access
  • Policy statement - "Allow group testgroup to use clusters in compartment mycompartment"
  • Apply the following Kubernetes manifest :
Tagged:

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!