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_binding :watcher do role :watcher add_service_account :default, :default end
Bind Role watcher from current namespace to ServiceAccount default from namespace default.
watcher
default
Kubernetes Documentation
Specifies the name of the cluster role to be used in binding:
cluster_role :watcher
Specifies the name of the role to be used in binding:
role :watcher
Adds the user with the specified name to the array of binding's subjects:
add_user :john
Adds the group with the specified name to the array of binding's subjects:
add_group :runners
Adds the service account with the specified name from the specified namespace to the array of binding's subjects:
add_service_account :default, :default
Shortcut to the metadata.namespace property:
metadata.namespace
namespace :default