Skip to content

Commit

Permalink
remove references to jbs in sandbox/tiers
Browse files Browse the repository at this point in the history
- There are mentions of jvm-build-service in components/sandbox/tiers
- Remove the references and run `ksctl generate nstemplatetiers --source ./src --out-dir ./production` as mentioned in README (same for staging)
  • Loading branch information
tnevrlka committed Dec 12, 2024
1 parent f380883 commit 7e261f7
Show file tree
Hide file tree
Showing 45 changed files with 5,378 additions and 48 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,16 +13,19 @@ resources:
- tiertemplate-appstudio-clusterresources-593233715-593233715.yaml
- tiertemplate-appstudio-clusterresources-809836689-809836689.yaml
- tiertemplate-appstudio-contributor-1817914940-1817914940.yaml
- tiertemplate-appstudio-contributor-3265408548-3265408548.yaml
- tiertemplate-appstudio-contributor-829105171-829105171.yaml
- tiertemplate-appstudio-maintainer-1904354742-1904354742.yaml
- tiertemplate-appstudio-maintainer-293087644-293087644.yaml
- tiertemplate-appstudio-maintainer-474752551-474752551.yaml
- tiertemplate-appstudio-maintainer-834439883-834439883.yaml
- tiertemplate-appstudio-tenant-1361763024-1361763024.yaml
- tiertemplate-appstudio-tenant-199961605-199961605.yaml
- tiertemplate-appstudio-tenant-2246724155-2246724155.yaml
- tiertemplate-appstudio-tenant-2313893948-2313893948.yaml
- tiertemplate-appstudio-tenant-3815075241-3815075241.yaml
- tiertemplate-appstudio-tenant-4121561789-4121561789.yaml
- tiertemplate-appstudio-tenant-649666048-649666048.yaml
- tiertemplate-appstudio-viewer-3768244154-3768244154.yaml
- tiertemplate-appstudio-viewer-4059797645-4059797645.yaml
- tiertemplate-appstudio-viewer-4256863455-4256863455.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@ spec:
admin:
templateRef: appstudio-admin-849337768-849337768
contributor:
templateRef: appstudio-contributor-829105171-829105171
templateRef: appstudio-contributor-3265408548-3265408548
maintainer:
templateRef: appstudio-maintainer-474752551-474752551
templateRef: appstudio-maintainer-834439883-834439883
viewer:
templateRef: appstudio-viewer-4256863455-4256863455
templateRef: appstudio-viewer-3768244154-3768244154
status: {}
Original file line number Diff line number Diff line change
@@ -0,0 +1,172 @@
# ----------------------------------------------------------------
# Generated by cli - DO NOT EDIT
# ----------------------------------------------------------------

apiVersion: toolchain.dev.openshift.com/v1alpha1
kind: TierTemplate
metadata:
name: appstudio-contributor-3265408548-3265408548
namespace: toolchain-host-operator
spec:
revision: 3265408548-3265408548
template:
apiVersion: template.openshift.io/v1
kind: Template
metadata: {}
objects:
- apiVersion: rbac.authorization.k8s.io/v1
kind: Role
metadata:
name: appstudio-contributor-user-actions
namespace: ${NAMESPACE}
rules:
- apiGroups:
- appstudio.redhat.com
resources:
- applications
- components
- imagerepositories
- componentdetectionqueries
verbs:
- get
- list
- watch
- apiGroups:
- appstudio.redhat.com
resources:
- promotionruns
- snapshotenvironmentbindings
- snapshots
- environments
verbs:
- get
- list
- watch
- apiGroups:
- appstudio.redhat.com
resources:
- deploymenttargets
- deploymenttargetclaims
verbs:
- get
- list
- watch
- apiGroups:
- managed-gitops.redhat.com
resources:
- gitopsdeployments
- gitopsdeploymentmanagedenvironments
- gitopsdeploymentrepositorycredentials
- gitopsdeploymentsyncruns
verbs:
- get
- list
- watch
- apiGroups:
- tekton.dev
resources:
- pipelineruns
verbs:
- get
- list
- watch
- apiGroups:
- results.tekton.dev
resources:
- results
- records
- logs
verbs:
- get
- list
- 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
- releasestrategies
- releaseplans
verbs:
- get
- list
- watch
- apiGroups:
- appstudio.redhat.com
resources:
- releaseplanadmissions
verbs:
- get
- list
- watch
- apiGroups:
- ""
resources:
- configmaps
verbs:
- get
- list
- watch
- apiGroups:
- appstudio.redhat.com
resources:
- buildpipelineselectors
verbs:
- get
- list
- watch
- apiGroups:
- projctl.konflux.dev
resources:
- projects
- projectdevelopmentstreams
- projectdevelopmentstreamtemplates
verbs:
- get
- list
- watch
- apiVersion: rbac.authorization.k8s.io/v1
kind: RoleBinding
metadata:
name: appstudio-contributor-${USERNAME}-actions-user
namespace: ${NAMESPACE}
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: Role
name: appstudio-contributor-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: contributor
Original file line number Diff line number Diff line change
@@ -0,0 +1,190 @@
# ----------------------------------------------------------------
# Generated by cli - DO NOT EDIT
# ----------------------------------------------------------------

apiVersion: toolchain.dev.openshift.com/v1alpha1
kind: TierTemplate
metadata:
name: appstudio-maintainer-834439883-834439883
namespace: toolchain-host-operator
spec:
revision: 834439883-834439883
template:
apiVersion: template.openshift.io/v1
kind: Template
metadata: {}
objects:
- apiVersion: rbac.authorization.k8s.io/v1
kind: Role
metadata:
name: appstudio-maintainer-user-actions
namespace: ${NAMESPACE}
rules:
- apiGroups:
- appstudio.redhat.com
resources:
- applications
- components
- imagerepositories
- componentdetectionqueries
verbs:
- get
- list
- watch
- create
- update
- patch
- apiGroups:
- appstudio.redhat.com
resources:
- promotionruns
- snapshotenvironmentbindings
- snapshots
- environments
verbs:
- get
- list
- watch
- apiGroups:
- appstudio.redhat.com
resources:
- deploymenttargets
- deploymenttargetclaims
verbs:
- get
- list
- watch
- apiGroups:
- managed-gitops.redhat.com
resources:
- gitopsdeployments
- gitopsdeploymentmanagedenvironments
- gitopsdeploymentrepositorycredentials
- gitopsdeploymentsyncruns
verbs:
- get
- list
- watch
- apiGroups:
- tekton.dev
resources:
- pipelineruns
verbs:
- get
- list
- watch
- apiGroups:
- results.tekton.dev
resources:
- results
- records
- logs
verbs:
- get
- list
- apiGroups:
- appstudio.redhat.com
resources:
- integrationtestscenarios
verbs:
- get
- list
- watch
- create
- update
- patch
- delete
- apiGroups:
- appstudio.redhat.com
resources:
- enterprisecontractpolicies
verbs:
- get
- list
- watch
- apiGroups:
- appstudio.redhat.com
resources:
- releases
- releasestrategies
- releaseplans
verbs:
- get
- list
- watch
- create
- update
- patch
- delete
- apiGroups:
- appstudio.redhat.com
resources:
- releaseplanadmissions
verbs:
- get
- list
- watch
- create
- update
- patch
- delete
- apiGroups:
- ""
resources:
- configmaps
verbs:
- get
- list
- watch
- apiGroups:
- appstudio.redhat.com
resources:
- buildpipelineselectors
verbs:
- get
- list
- watch
- apiGroups:
- projctl.konflux.dev
resources:
- projects
- projectdevelopmentstreams
- projectdevelopmentstreamtemplates
verbs:
- get
- list
- watch
- create
- update
- patch
- apiVersion: rbac.authorization.k8s.io/v1
kind: RoleBinding
metadata:
name: appstudio-maintainer-${USERNAME}-actions-user
namespace: ${NAMESPACE}
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: Role
name: appstudio-maintainer-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: maintainer
Loading

0 comments on commit 7e261f7

Please sign in to comment.