File tree Expand file tree Collapse file tree 1 file changed +50
-0
lines changed
velero/spectrum-fusion/recipes/dynamic-recipes/core Expand file tree Collapse file tree 1 file changed +50
-0
lines changed Original file line number Diff line number Diff line change 1+ apiVersion : spp-data-protection.isf.ibm.com/v1alpha1
2+ kind : Recipe
3+ metadata :
4+ labels :
5+ dp.isf.ibm.com/parent-recipe : cpfs-parent-recipe
6+ dp.isf.ibm.com/parent-recipe-namespace : <parent recipe namespace>
7+ name : ums-child
8+ namespace : <child recipe namespace>
9+ spec :
10+ appType : common-service
11+ groups :
12+ - includeClusterResources : true
13+ includedResourceTypes :
14+ - customresourcedefinitions.apiextensions.k8s.io
15+ labelSelector : foundationservices.cloudpak.ibm.com=ums
16+ name : ums-crd
17+ type : resource
18+ - includedResourceTypes :
19+ - configmaps
20+ - ibmservicemeterdefinitions.operator.ibm.com
21+ - ibmusagemeterings.operator.ibm.com
22+ - subscriptions.operators.coreos.com
23+ labelSelector : foundationservices.cloudpak.ibm.com=ums
24+ name : ums-resources
25+ type : resource
26+ hooks :
27+ - chks :
28+ - condition : ' {$.status.phase} == {"Running"}'
29+ name : podReady
30+ onError : fail
31+ timeout : 600
32+ labelSelector : app.kubernetes.io/name=ibm-usage-metering
33+ name : ums-operator-check
34+ namespace : <child recipe namespace>
35+ onError : fail
36+ selectResource : pod
37+ timeout : 600
38+ type : check
39+ workflows :
40+ - name : post-backup
41+ sequence :
42+ # UMS resources
43+ - group : ums-crd
44+ - group : ums-resources
45+ - name : data-restore
46+ sequence :
47+ # UMS restore
48+ - group : ums-crd
49+ - group : ums-resources
50+ - hook : ums-operator-check/podReady
You can’t perform that action at this time.
0 commit comments