Skip to content

Commit abad10a

Browse files
committed
sync the lsr recipe changes into common recipe
Signed-off-by: YuChen <[email protected]>
1 parent a70ecc8 commit abad10a

File tree

3 files changed

+44
-4
lines changed

3 files changed

+44
-4
lines changed

velero/spectrum-fusion/recipes/4.7-example-recipe-multi-ns-multi-zen.yaml

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -291,7 +291,7 @@ spec:
291291
selectResource: deployment
292292
timeout: 600
293293
type: check
294-
- chks:
294+
- chks:
295295
- condition: '{$.status.phase} == {"Running"}'
296296
name: podReady
297297
onError: fail
@@ -303,6 +303,18 @@ spec:
303303
selectResource: pod
304304
timeout: 600
305305
type: check
306+
- chks:
307+
- condition: '{$.status.phase} == {"Running"}'
308+
name: podReady
309+
onError: fail
310+
timeout: 600
311+
name: license-service-reporter-instance-check
312+
labelSelector: app.kubernetes.io/instance=ibm-license-service-reporter
313+
namespace: <lsr namespace>
314+
onError: fail
315+
selectResource: pod
316+
timeout: 600
317+
type: check
306318
- chks:
307319
- condition: '{$.spec.replicas} == {$.status.readyReplicas}'
308320
name: podReady
@@ -522,7 +534,7 @@ spec:
522534
- group: common-services-operatorgroups
523535
- group: common-services-configmaps
524536
- group: license-service-reporter-crd
525-
- group: commonservices-crd
537+
- group: commonservice-crd
526538
- group: commonservice-cr
527539
- group: nss-resources
528540
- group: singleton-subscriptions
@@ -553,6 +565,7 @@ spec:
553565
- group: license-service-reporter-subscriptions
554566
- hook: license-service-reporter-check/podReady
555567
- group: license-service-reporter-instances
568+
- hook: license-service-reporter-instance-check/podReady
556569
- group: lsr-pre-deploy
557570
- group: lsr-volume
558571
- group: lsr-deployment

velero/spectrum-fusion/recipes/4.7-example-recipe-multi-ns.yaml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -303,6 +303,18 @@ spec:
303303
selectResource: pod
304304
timeout: 600
305305
type: check
306+
- chks:
307+
- condition: '{$.status.phase} == {"Running"}'
308+
name: podReady
309+
onError: fail
310+
timeout: 600
311+
name: license-service-reporter-instance-check
312+
labelSelector: app.kubernetes.io/instance=ibm-license-service-reporter
313+
namespace: <lsr namespace>
314+
onError: fail
315+
selectResource: pod
316+
timeout: 600
317+
type: check
306318
- chks:
307319
- condition: '{$.spec.replicas} == {$.status.readyReplicas}'
308320
name: podReady
@@ -462,6 +474,8 @@ spec:
462474
- group: common-services-operatorgroups
463475
- group: common-services-configmaps
464476
- group: license-service-reporter-crd
477+
- group: commonservice-crd
478+
- group: commonservice-cr
465479
- group: singleton-subscriptions
466480
- group: cert-manager-resources
467481
- group: license-service-reporter-subscriptions
@@ -493,6 +507,7 @@ spec:
493507
- group: license-service-reporter-subscriptions
494508
- hook: license-service-reporter-check/podReady
495509
- group: license-service-reporter-instances
510+
- hook: license-service-reporter-instance-check/podReady
496511
- group: lsr-pre-deploy
497512
- group: lsr-volume
498513
- group: lsr-deployment

velero/spectrum-fusion/recipes/4.7-example-recipe-single-ns.yaml

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -268,7 +268,7 @@ spec:
268268
selectResource: deployment
269269
timeout: 600
270270
type: check
271-
- chks:
271+
- chks:
272272
- condition: '{$.status.phase} == {"Running"}'
273273
name: podReady
274274
onError: fail
@@ -280,6 +280,18 @@ spec:
280280
selectResource: pod
281281
timeout: 600
282282
type: check
283+
- chks:
284+
- condition: '{$.status.phase} == {"Running"}'
285+
name: podReady
286+
onError: fail
287+
timeout: 600
288+
name: license-service-reporter-instance-check
289+
labelSelector: app.kubernetes.io/instance=ibm-license-service-reporter
290+
namespace: <lsr namespace>
291+
onError: fail
292+
selectResource: pod
293+
timeout: 600
294+
type: check
283295
- chks:
284296
- condition: '{$.spec.replicas} == {$.status.readyReplicas}'
285297
name: podReady
@@ -405,7 +417,6 @@ spec:
405417
- group: common-services-catalogs
406418
- group: common-services-operatorgroups
407419
- group: common-services-configmaps
408-
- group: license-service-reporter-crd
409420
- group: commonservice-crd
410421
- group: commonservice-cr
411422
- group: singleton-subscriptions
@@ -436,6 +447,7 @@ spec:
436447
- group: license-service-reporter-subscriptions
437448
- hook: license-service-reporter-check/podReady
438449
- group: license-service-reporter-instances
450+
- hook: license-service-reporter-instance-check/podReady
439451
- group: lsr-pre-deploy
440452
- group: lsr-volume
441453
- group: lsr-deployment

0 commit comments

Comments
 (0)