Skip to content

add konflux-viewer-user-actions role to stg and prod #6271

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,127 @@
---
kind: ClusterRole
apiVersion: rbac.authorization.k8s.io/v1
metadata:
name: konflux-viewer-user-actions
labels:
konflux-cluster-role: "true"
rules:
- verbs:
- get
- list
- watch
apiGroups:
- appstudio.redhat.com
resources:
- applications
- components
- imagerepositories
- verbs:
- get
- list
- watch
apiGroups:
- appstudio.redhat.com
resources:
- snapshots
- verbs:
- get
- list
- watch
apiGroups:
- tekton.dev
resources:
- pipelineruns
- taskruns
- verbs:
- get
- list
apiGroups:
- results.tekton.dev
resources:
- results
- records
- logs
- verbs:
- get
- list
- watch
apiGroups:
- appstudio.redhat.com
resources:
- integrationtestscenarios
- verbs:
- get
- list
- watch
apiGroups:
- appstudio.redhat.com
resources:
- enterprisecontractpolicies
- verbs:
- get
- list
- watch
apiGroups:
- appstudio.redhat.com
resources:
- releases
- releaseplans
- verbs:
- get
- list
- watch
apiGroups:
- appstudio.redhat.com
resources:
- releaseplanadmissions
- verbs:
- get
- list
- watch
apiGroups:
- jvmbuildservice.io
resources:
- jbsconfigs
- artifactbuilds
- verbs:
- get
- list
- watch
apiGroups:
- ''
resources:
- configmaps
- pods
- pods/log
- verbs:
- get
- list
- watch
apiGroups:
- projctl.konflux.dev
resources:
- projects
- projectdevelopmentstreams
- projectdevelopmentstreamtemplates
- verbs:
- get
apiGroups:
- ''
resources:
- namespaces
- verbs:
- get
apiGroups:
- project.openshift.io
resources:
- projects
- verbs:
- get
- list
- watch
apiGroups:
- batch
resources:
- cronjobs
- jobs
1 change: 1 addition & 0 deletions components/konflux-rbac/production/base/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,5 @@ resources:
- konflux-admin-user-actions.yaml
- konflux-maintainer-user-actions.yaml
- konflux-contributor-user-actions.yaml
- konflux-viewer-user-actions.yaml
- ../../policies/bootstrap-tenant-namespace/
127 changes: 127 additions & 0 deletions components/konflux-rbac/staging/base/konflux-viewer-user-actions.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,127 @@
---
kind: ClusterRole
apiVersion: rbac.authorization.k8s.io/v1
metadata:
name: konflux-viewer-user-actions
labels:
konflux-cluster-role: "true"
rules:
- verbs:
- get
- list
- watch
apiGroups:
- appstudio.redhat.com
resources:
- applications
- components
- imagerepositories
- verbs:
- get
- list
- watch
apiGroups:
- appstudio.redhat.com
resources:
- snapshots
- verbs:
- get
- list
- watch
apiGroups:
- tekton.dev
resources:
- pipelineruns
- taskruns
- verbs:
- get
- list
apiGroups:
- results.tekton.dev
resources:
- results
- records
- logs
- verbs:
- get
- list
- watch
apiGroups:
- appstudio.redhat.com
resources:
- integrationtestscenarios
- verbs:
- get
- list
- watch
apiGroups:
- appstudio.redhat.com
resources:
- enterprisecontractpolicies
- verbs:
- get
- list
- watch
apiGroups:
- appstudio.redhat.com
resources:
- releases
- releaseplans
- verbs:
- get
- list
- watch
apiGroups:
- appstudio.redhat.com
resources:
- releaseplanadmissions
- verbs:
- get
- list
- watch
apiGroups:
- jvmbuildservice.io
resources:
- jbsconfigs
- artifactbuilds
- verbs:
- get
- list
- watch
apiGroups:
- ''
resources:
- configmaps
- pods
- pods/log
- verbs:
- get
- list
- watch
apiGroups:
- projctl.konflux.dev
resources:
- projects
- projectdevelopmentstreams
- projectdevelopmentstreamtemplates
- verbs:
- get
apiGroups:
- ''
resources:
- namespaces
- verbs:
- get
apiGroups:
- project.openshift.io
resources:
- projects
- verbs:
- get
- list
- watch
apiGroups:
- batch
resources:
- cronjobs
- jobs
1 change: 1 addition & 0 deletions components/konflux-rbac/staging/base/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,5 @@ resources:
- konflux-admin-user-actions.yaml
- konflux-maintainer-user-actions.yaml
- konflux-contributor-user-actions.yaml
- konflux-viewer-user-actions.yaml
- ../../policies/bootstrap-tenant-namespace/