We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
R.role :watcher do add_rule do api_groups '*' resources :configmaps, :secrets, :pods, :replicationcontrollers verbs :get, :list end end
Create Role and add rule that gives permissions to list, inspect and watch specified resources.
Kubernetes Documentation
Helper that creates the rule, optionally initializes it with the provided block and then returns it for future use:
add_rule do api_groups '*' resources :configmaps, :secrets verbs :get, :list end