-
Notifications
You must be signed in to change notification settings - Fork 42
Open
Description
As part of the definition of "rbac.authorization.k8s.io/v1", namespace attribute doesn't exist on RoleRef and Subjects attributes definition. Instead it must be the attribut "apiGroup".
Example : https://github.com/eclipse-cbi/jiro/blob/master/instances/automotive.mdmbl/target/k8s/role-binding.json
should be :
"roleRef": {
"kind": "Role",
"name": "jenkins-master-owner",
"apiGroup": "my_api_group" <=== here
},
"subjects": [
{
"kind": "ServiceAccount",
"name": "mdmbl",
"apiGroup": "my_api_group" <=== here
}
]
And apiGroup should have a name: https://github.com/eclipse-cbi/jiro/blob/master/instances/automotive.mdmbl/target/k8s/role.json
"rules": [
{
"apiGroups": [
"my_api_group" <=== here
],
"resources": [
"pods",
"pods/exec"
],
Metadata
Metadata
Assignees
Labels
No labels