-
Notifications
You must be signed in to change notification settings - Fork 4
Open
Labels
blocked-needs-validationIssue need tirage and validationIssue need tirage and validationenhancementNew feature or requestNew feature or requesthelp wantedExtra attention is neededExtra attention is neededlifecycle/frozenquestionFurther information is requestedFurther information is requested
Description
Describe the feature
This should change:
...
spec:
owners:
- name: [email protected]
kind: GroupA kind is not sufficient to definitively identify which API group we mean here. Instead, we should specify owners more like:
...
spec:
owners:
- name: [email protected]
apiGroup: rbac.authorization.k8s.io
apiResources: groups # yes, the lowercase plural form that you see at the HTTP layer
- name: [email protected]
apiGroup: some.other.example
apiResources: externalserviceaccounts # for this example, it could be an aggregated API
- name: [email protected]
apiGroup: avatars.some.other.example
apiResources: users # ambiguous name, disambiguated by API groupWe also shouldn't assume that Kubernetes RBAC is the only game in town. You can have a conformant Kubernetes cluster that uses a different access control mechanism and runs with RBAC disabled.
Expected behavior
There's never ambiguity about how we refer to owners.
Metadata
Metadata
Assignees
Labels
blocked-needs-validationIssue need tirage and validationIssue need tirage and validationenhancementNew feature or requestNew feature or requesthelp wantedExtra attention is neededExtra attention is neededlifecycle/frozenquestionFurther information is requestedFurther information is requested