cass-operator icon indicating copy to clipboard operation
cass-operator copied to clipboard

Add the feature in cass-operator to provision user permissions(RBAC) through CRD file

Open sync-by-unito[bot] opened this issue 4 years ago • 1 comments

In https://github.com/datastax/cass-operator/pull/94 there is a function to define users through the CRD file, e.g

  users:
    - secretName: <a normal username>
       superuser: false

It is good to have the RBAC permissions associated with the users/roles so that end-users do not have to log in the cluster with superuser and do it manually.

e.g in CRD file, it can be like:

  users:
    - secretName: <a normal username>
       superuser: false
       permissions: create, drop on keyspace, table

┆Issue is synchronized with this Jira Story by Unito ┆Issue Number: CASS-57

sync-by-unito[bot] avatar Jul 22 '21 09:07 sync-by-unito[bot]

I think this is an excellent idea. Note that the design being proposed for https://github.com/k8ssandra/k8ssandra-operator/issues/556 will impact this.

jsanda avatar Jun 22 '22 22:06 jsanda