rbac-common

by serge.logvinov

Helm chartv0.5.2App 0.1.1Verified publisher

Kubernetes RBAC

About this chart

rbac-common

Kubernetes RBAC

The chart automatically creates default roles and role bindings for users, either in a specific namespace or across the entire cluster. It has default permissions for the admins, developers, and viewers.

  • ClusterAdmins have permission to read everything and can also create, change, or delete less important resources. The default Kubernetes cluster-admin role is very powerful and can be risky if not used carefully.
  • Developers can see all resources in the cluster and delete pods, but they cannot create or change any other resources.
  • Viewers can only look at resources in the cluster but cannot make any changes.

Homepage: https://github.com/sergelogvinov/helm-charts

Maintainers

NameEmailUrl
sergelogvinovhttps://github.com/sergelogvinov

Source Code

rbac:
  create: true
  singleNamespace: false

clusterAdmins:
  - admin-1

developers:
  - dev-1

viewers:
  - viewer-1

Values

KeyTypeDefaultDescription
rbac.createbooltrue
rbac.singleNamespaceboolfalse
viewerslist[]
developerslist[]
cicdlist[]
cicdViewerlist[]
clusterAdminslist[]
superadminNamespaceslist[]

Deploy rbac-common with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has rbac-common on a Hetzner server. Change the host, add apps from the marketplace, then copy the generated files. Providers and prices are samples, and nothing here is sent anywhere.

  1. Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
  2. Place the chartrbac-common is pinned at v0.5.2 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
  3. ApplySave opentenant.yaml and main.tf from the console, then run the commands below.
# opentenant.yaml, main.tf and dns.tf come from the builder below
opentenant validate opentenant.yaml
terraform init && terraform apply