Skip to content

Commit c70d64d

Browse files
authored
Backup additional resources (#5224)
Add additional resources to the backup as follows: 1. rolebindings - users a allowed to create role binding for their service account. In addition, in clusters that doesn't use kubesaw, rolebindings are used for granting permissions to users. 2. imagerepositories - the ImageRepository resources is created by the UI when onboarding a new component, thus it should be backed up as well. 3. repositories - the Tekton repository resource is created by the build service if the component doesn't have the "build.appstudio.openshift.io/status" annotation. Since the components in the back have this annotation, the build service won't create the repository resources after restoring the components, thus the repository resource should be backed up as well. 4. release resources - those are core Konflux resources thus they should be backed up as well. Signed-off-by: Gal Ben Haim <[email protected]>
1 parent 1b5f839 commit c70d64d

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

components/backup/base/member/schedules/backup-tenants-schedule.yaml

+6
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,13 @@ spec:
4545
- secrets
4646
- snapshots.appstudio.redhat.com
4747
- serviceaccounts
48+
- rolebindings
4849
- namespaces
50+
- imagerepositories.appstudio.redhat.com
51+
- repositories.pipelinesascode.tekton.dev
52+
- releases.appstudio.redhat.com
53+
- releaseplans.appstudio.redhat.com
54+
- releaseplanadmissions.appstudio.redhat.com
4955
storageLocation: velero-aws-1
5056
ttl: 720h0m0s
5157
useOwnerReferencesInBackup: true

0 commit comments

Comments
 (0)