Allow ci-admins to crud prowjobs - #150
Conversation
|
Does this need to be compatible with older clusters? If not, define the new role / bindings using RBAC instead of origin authz. Also, I believe @smarterclayton said he wanted ci-admins to be admins cluster wide. But maybe he wanted a different group with that power instead? |
There was a problem hiding this comment.
@enj is already in the ci-admins group in our cluster. I am not sure what's the scope of the group honestly. cc: @smarterclayton
There was a problem hiding this comment.
This group gives cluster level access to everything. I don't think Mo needs that.
There was a problem hiding this comment.
I was given access to help figure out some OAuth / RBAC issues. You are welcome to scope that down as you see fit.
Unclear what this means.. Do you mean that I should use the upstream types? |
@enj we have |
Yes, there are the canonical representation in 3.7. The Origin authz resources are a proxy.
That is fine, but it will fail the SAR check that Jenkins performs. |
|
We should have |
|
Keeping just the cluster{role,rolebinding} for now. @smarterclayton where do I need to plumb this manifest so it is applied on cluster creation/upgrade? |
|
@Kargakis let the server do the conversion for you: apiVersion: v1
items:
- apiVersion: rbac.authorization.k8s.io/v1beta1
kind: ClusterRoleBinding
metadata:
creationTimestamp: null
name: ci-admins-prowjobs
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: ClusterRole
name: prowjob-access
subjects:
- apiGroup: rbac.authorization.k8s.io
kind: Group
name: ci-admins
- apiVersion: rbac.authorization.k8s.io/v1beta1
kind: ClusterRole
metadata:
creationTimestamp: null
name: prowjob-access
rules:
- apiGroups:
- prow.k8s.io
resources:
- prowjobs
verbs:
- create
- delete
- get
- list
kind: List
metadata: {} |
|
@enj I am not as worried. There are other roles inside this repo that need to be converted, too, and I would prefer to handle them holistically. |
|
@smarterclayton we need to figure out how to apply this as part of the upgrade. |
|
or fresh installation |
|
Makefile in ci cluster was what i planned to run.
…On Fri, Sep 29, 2017 at 11:07 PM, Michalis Kargakis < ***@***.***> wrote:
or fresh installation
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#150 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ABG_pxSmP5UCxkID_u6fq4_vbMUltx9xks5snbBwgaJpZM4PaGdT>
.
|
|
Added in #206 |
Add horologium prow component manifest files
/cc @enj