-
Notifications
You must be signed in to change notification settings - Fork 246
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Get rid of managed gitops permissions in kubesaw
We no longer deploy managed gitops service, clean up the user permissions. Signed-off-by: Hugo Ares <[email protected]>
- Loading branch information
Showing
40 changed files
with
4,848 additions
and
68 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
270 changes: 270 additions & 0 deletions
270
...andbox/tiers/production/appstudio/tiertemplate-appstudio-admin-1038607973-1038607973.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,270 @@ | ||
# ---------------------------------------------------------------- | ||
# Generated by cli - DO NOT EDIT | ||
# ---------------------------------------------------------------- | ||
|
||
apiVersion: toolchain.dev.openshift.com/v1alpha1 | ||
kind: TierTemplate | ||
metadata: | ||
name: appstudio-admin-1038607973-1038607973 | ||
namespace: toolchain-host-operator | ||
spec: | ||
revision: 1038607973-1038607973 | ||
template: | ||
apiVersion: template.openshift.io/v1 | ||
kind: Template | ||
metadata: {} | ||
objects: | ||
- apiVersion: rbac.authorization.k8s.io/v1 | ||
kind: Role | ||
metadata: | ||
name: appstudio-admin-user-actions | ||
namespace: ${NAMESPACE} | ||
rules: | ||
- apiGroups: | ||
- appstudio.redhat.com | ||
resources: | ||
- applications | ||
- components | ||
- imagerepositories | ||
- componentdetectionqueries | ||
verbs: | ||
- get | ||
- list | ||
- watch | ||
- create | ||
- update | ||
- patch | ||
- delete | ||
- deletecollection | ||
- apiGroups: | ||
- appstudio.redhat.com | ||
resources: | ||
- promotionruns | ||
- snapshotenvironmentbindings | ||
- snapshots | ||
- environments | ||
verbs: | ||
- get | ||
- list | ||
- watch | ||
- create | ||
- update | ||
- patch | ||
- delete | ||
- apiGroups: | ||
- appstudio.redhat.com | ||
resources: | ||
- deploymenttargets | ||
- deploymenttargetclaims | ||
verbs: | ||
- get | ||
- list | ||
- watch | ||
- create | ||
- update | ||
- patch | ||
- delete | ||
- apiGroups: | ||
- tekton.dev | ||
resources: | ||
- pipelineruns | ||
verbs: | ||
- get | ||
- list | ||
- watch | ||
- create | ||
- update | ||
- patch | ||
- delete | ||
- apiGroups: | ||
- results.tekton.dev | ||
resources: | ||
- results | ||
- records | ||
- logs | ||
verbs: | ||
- get | ||
- list | ||
- apiGroups: | ||
- appstudio.redhat.com | ||
resources: | ||
- enterprisecontractpolicies | ||
- integrationtestscenarios | ||
- releases | ||
- releasestrategies | ||
- releaseplans | ||
- releaseplanadmissions | ||
verbs: | ||
- get | ||
- list | ||
- watch | ||
- create | ||
- update | ||
- patch | ||
- delete | ||
- apiGroups: | ||
- jvmbuildservice.io | ||
resources: | ||
- jbsconfigs | ||
- artifactbuilds | ||
verbs: | ||
- get | ||
- list | ||
- watch | ||
- create | ||
- update | ||
- patch | ||
- delete | ||
- apiGroups: | ||
- "" | ||
resources: | ||
- secrets | ||
verbs: | ||
- get | ||
- list | ||
- watch | ||
- create | ||
- update | ||
- patch | ||
- delete | ||
- apiGroups: | ||
- "" | ||
resources: | ||
- configmaps | ||
verbs: | ||
- get | ||
- list | ||
- watch | ||
- create | ||
- update | ||
- patch | ||
- delete | ||
- apiGroups: | ||
- appstudio.redhat.com | ||
resources: | ||
- buildpipelineselectors | ||
verbs: | ||
- get | ||
- list | ||
- watch | ||
- create | ||
- update | ||
- patch | ||
- delete | ||
- apiGroups: | ||
- "" | ||
resourceNames: | ||
- appstudio-pipeline | ||
resources: | ||
- serviceaccounts | ||
verbs: | ||
- get | ||
- list | ||
- watch | ||
- update | ||
- patch | ||
- apiGroups: | ||
- "" | ||
resources: | ||
- pods/exec | ||
verbs: | ||
- create | ||
- apiGroups: | ||
- toolchain.dev.openshift.com | ||
resources: | ||
- spacebindingrequests | ||
verbs: | ||
- get | ||
- list | ||
- watch | ||
- create | ||
- update | ||
- patch | ||
- delete | ||
- apiGroups: | ||
- projctl.konflux.dev | ||
resources: | ||
- projects | ||
- projectdevelopmentstreams | ||
- projectdevelopmentstreamtemplates | ||
verbs: | ||
- get | ||
- list | ||
- watch | ||
- create | ||
- update | ||
- patch | ||
- delete | ||
- apiGroups: | ||
- external-secrets.io | ||
resources: | ||
- secretstores | ||
- externalsecrets | ||
verbs: | ||
- get | ||
- list | ||
- watch | ||
- create | ||
- update | ||
- patch | ||
- delete | ||
- apiGroups: | ||
- rbac.authorization.k8s.io | ||
resources: | ||
- roles | ||
- rolebindings | ||
verbs: | ||
- get | ||
- list | ||
- create | ||
- update | ||
- patch | ||
- delete | ||
- apiGroups: | ||
- "" | ||
resources: | ||
- serviceaccounts | ||
verbs: | ||
- get | ||
- list | ||
- create | ||
- update | ||
- patch | ||
- delete | ||
- apiGroups: | ||
- "" | ||
resources: | ||
- serviceaccounts/token | ||
verbs: | ||
- create | ||
- apiVersion: rbac.authorization.k8s.io/v1 | ||
kind: RoleBinding | ||
metadata: | ||
name: appstudio-admin-${USERNAME}-actions-user | ||
namespace: ${NAMESPACE} | ||
roleRef: | ||
apiGroup: rbac.authorization.k8s.io | ||
kind: Role | ||
name: appstudio-admin-user-actions | ||
subjects: | ||
- kind: User | ||
name: ${USERNAME} | ||
- apiVersion: rbac.authorization.k8s.io/v1 | ||
kind: RoleBinding | ||
metadata: | ||
name: appstudio-${USERNAME}-view-user | ||
namespace: ${NAMESPACE} | ||
roleRef: | ||
apiGroup: rbac.authorization.k8s.io | ||
kind: ClusterRole | ||
name: view | ||
subjects: | ||
- kind: User | ||
name: ${USERNAME} | ||
parameters: | ||
- name: NAMESPACE | ||
required: true | ||
- name: USERNAME | ||
required: true | ||
tierName: appstudio | ||
type: admin |
Oops, something went wrong.