Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Propagate Role/RoleBinding and ClusterRole/ClusterRoleBinding from ConfigMap to CustomConfigMap #17

Open
gopaddle-io opened this issue Aug 10, 2021 · 1 comment

Comments

@gopaddle-io
Copy link
Owner

gopaddle-io commented Aug 10, 2021

Is your feature request related to a problem? Please describe.
No

Describe the solution you'd like
Provide a capability to set Cluster wide (ClusterRole and ClusterRoleBinding) and namespace specific (Role and RoleBinding) to ConfigMaps and propagate those permissions to the newly create CustomConfigMaps and CustomSecrets.
Follow the blog for more information on creating Roles and RoleBindings.

Steps to validate:

  1. Create a namespace
  2. Create a ConfigMap in that namespace
  3. Create a Secret in that namespace
  4. Create a Service Account
  5. Create a ClusterRole with verbs 'get' and 'list' on resources 'configmap' and 'secret'
  6. Create a ClusterRoleBinding to reference the ClusterRole created in step 4
  7. Create a Role with verbs 'get' and 'list' on resources 'configmap' and 'secret'
  8. Create a RoleBinding to reference the Role created in step 7 along with the namespace created in step 1
  9. Install Configurator
  10. Get the ClusterRole and Role created in steps 4 and 7. The CustomConfigMap and CustomSecret resources should have the permissions for 'get' and 'list'.

Describe alternatives you've considered
None

Additional context
None

@gopaddle-io gopaddle-io changed the title Support for propagating RoleBindings from CustomConfigMap to ConfigMap Propagate Role/RoleBinding and ClusterRole/ClusterRoleBinding from ConfigMap to CustomConfigMap Feb 25, 2022
@gopaddle-io
Copy link
Owner Author

Please send pull requests to SODACODE-2022

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant