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
- Manually remove the references from `components/sandbox/tiers/src`
- Run `ksctl generate nstemplatetiers --source ./src --out-dir ./production` as mentioned in README (same for staging) which automatically generates many new files
  • Loading branch information
tnevrlka committed Jan 20, 2025
1 parent 1b4ef60 commit 007b6ae
Show file tree
Hide file tree
Showing 40 changed files with 4,854 additions and 67 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,17 @@ apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- nstemplatetier-appstudio.yaml
- tiertemplate-appstudio-admin-1611646139-1611646139.yaml
- tiertemplate-appstudio-admin-1876853981-1876853981.yaml
- tiertemplate-appstudio-admin-2415879015-2415879015.yaml
- tiertemplate-appstudio-admin-849337768-849337768.yaml
- tiertemplate-appstudio-clusterresources-3180033938-3180033938.yaml
- 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-1881194462-1881194462.yaml
- tiertemplate-appstudio-maintainer-1904354742-1904354742.yaml
- tiertemplate-appstudio-maintainer-293087644-293087644.yaml
- tiertemplate-appstudio-maintainer-341231795-341231795.yaml
Expand All @@ -27,5 +30,6 @@ resources:
- 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 @@ -14,11 +14,11 @@ spec:
- templateRef: appstudio-tenant-3054647054-3054647054
spaceRoles:
admin:
templateRef: appstudio-admin-849337768-849337768
templateRef: appstudio-admin-1611646139-1611646139
contributor:
templateRef: appstudio-contributor-829105171-829105171
templateRef: appstudio-contributor-3265408548-3265408548
maintainer:
templateRef: appstudio-maintainer-341231795-341231795
templateRef: appstudio-maintainer-1881194462-1881194462
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,268 @@
# ----------------------------------------------------------------
# Generated by cli - DO NOT EDIT
# ----------------------------------------------------------------

apiVersion: toolchain.dev.openshift.com/v1alpha1
kind: TierTemplate
metadata:
name: appstudio-admin-1611646139-1611646139
namespace: toolchain-host-operator
spec:
revision: 1611646139-1611646139
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:
- managed-gitops.redhat.com
resources:
- gitopsdeployments
- gitopsdeploymentmanagedenvironments
- gitopsdeploymentrepositorycredentials
- gitopsdeploymentsyncruns
verbs:
- get
- list
- watch
- 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:
- ""
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
Loading

0 comments on commit 007b6ae

Please sign in to comment.