You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The sensuctl cluster-role create <name> flags should be --resources and --verbs (plural) instead of --resource and --verb (singular).
Possible Implementation
Sensu ClusterRole resources have roles containing resources and verbs fields (plural), but the corresponding sensuctl cluster-role create <name> flags are the singular form --resource and --verb, which is quite confusing. We might not want to deprecate the singular form flags to prevent breaking any existing user workflows – is it possible to alias them? Can both the singular and plural forms work?
The text was updated successfully, but these errors were encountered:
Feature Suggestion
The
sensuctl cluster-role create <name>
flags should be--resources
and--verbs
(plural) instead of--resource
and--verb
(singular).Possible Implementation
Sensu
ClusterRole
resources have roles containingresources
andverbs
fields (plural), but the correspondingsensuctl cluster-role create <name>
flags are the singular form--resource
and--verb
, which is quite confusing. We might not want to deprecate the singular form flags to prevent breaking any existing user workflows – is it possible to alias them? Can both the singular and plural forms work?The text was updated successfully, but these errors were encountered: