Skip to content

Commit cc88204

Browse files
committed
remove unnecessary resources for backup and restore
Signed-off-by: YuChen <[email protected]>
1 parent 69f8d4b commit cc88204

File tree

1 file changed

+0
-66
lines changed
  • velero/spectrum-fusion/license-service-reporter

1 file changed

+0
-66
lines changed

velero/spectrum-fusion/license-service-reporter/recipe.yaml

Lines changed: 0 additions & 66 deletions
Original file line numberDiff line numberDiff line change
@@ -27,34 +27,6 @@ spec:
2727
- ibmlicenseservicereporters.operator.ibm.com
2828
name: license-service-reporter-instances
2929
type: resource
30-
- includeClusterResources: true
31-
includedResourceTypes:
32-
- deployments
33-
- serviceaccount
34-
- role
35-
- rolebinding
36-
- configmaps
37-
labelSelector: foundationservices.cloudpak.ibm.com=lsr-data
38-
name: license-service-reporter-resources
39-
type: resource
40-
- backupRef: license-service-reporter-resources
41-
includeClusterResources: true
42-
includedResourceTypes:
43-
- serviceaccount
44-
- role
45-
- rolebinding
46-
- configmaps
47-
name: lsr-pre-deploy
48-
type: resource
49-
- backupRef: license-service-reporter-resources
50-
includeClusterResources: true
51-
includedResourceTypes:
52-
- deployments
53-
name: lsr-deployment
54-
type: resource
55-
- labelSelector: foundationservices.cloudpak.ibm.com=lsr-data
56-
name: lsr-volume
57-
type: volume
5830
- includedResourceTypes:
5931
- catalogsources.operators.coreos.com
6032
labelSelector: foundationservices.cloudpak.ibm.com=catalog
@@ -115,42 +87,10 @@ spec:
11587
selectResource: pod
11688
timeout: 600
11789
type: check
118-
- chks:
119-
- condition: '{$.spec.replicas} == {$.status.readyReplicas}'
120-
name: podReady
121-
onError: fail
122-
timeout: 600
123-
labelSelector: foundationservices.cloudpak.ibm.com=lsr-data
124-
name: lsr-deployment
125-
namespace: <lsr namespace>
126-
onError: fail
127-
selectResource: deployment
128-
timeout: 600
129-
type: check
130-
- labelSelector: foundationservices.cloudpak.ibm.com=lsr-data
131-
name: lsr-data
132-
namespace: <lsr namespace>
133-
onError: fail
134-
ops:
135-
- command: |
136-
["/bin/bash", "-c", "rm -rf /lsr/lsr-backup/database; /lsr/br_lsr.sh <lsr namespace> backup"]
137-
container: lsr-backup-job
138-
name: backup
139-
timeout: 600
140-
- command: |
141-
["/bin/bash", "-c", "/lsr/br_lsr.sh <lsr namespace> restore"]
142-
container: lsr-backup-job
143-
name: restore
144-
timeout: 2000
145-
selectResource: pod
146-
type: exec
14790
workflows:
14891
- failOn: any-error
14992
name: backup
15093
sequence:
151-
# - hook: lsr-data/backup
152-
# - group: lsr-volume
153-
# - group: license-service-reporter-resources
15494
- group: pull-secret
15595
- group: common-services-namespace
15696
- group: common-services-catalogs
@@ -170,10 +110,4 @@ spec:
170110
- hook: license-service-reporter-check/podReady
171111
- group: license-service-reporter-instances
172112
- hook: license-service-reporter-instance-check/podReady
173-
# - group: lsr-pre-deploy
174-
# - group: lsr-volume
175-
# - group: lsr-deployment
176-
# - hook: lsr-deployment/podReady
177-
#- hook: lsr-data/restore
178-
179113

0 commit comments

Comments
 (0)