Skip to content

Latest commit

 

History

History
20 lines (15 loc) · 1.05 KB

File metadata and controls

20 lines (15 loc) · 1.05 KB

this is an attempt to make the needed permissions/roles to set up Kubermatic on vSphere reproducible

what is there:

what is missing:

actually attached permissions

because: vsphere cannot attach users/groups and roles as permissions to entities without a BIG CAVEAT:
attaching permissions via the vsphere_entity_permissions resource will remove ALL UNMANAGED permissions from that resource!
that means, you either manage ALL permissions on a resource with terraform, or you don't at all!

example:

  1. datastore ds-1 has a lot of manually attached permissions
  2. a terraform solution wants to attach kubermatic roles to their respective users and allow access to ds-1
  3. terraform will remove all manually attached permissions from ds-1
  4. you are sad because this breaks other stuff