check if node exists in restore resource modifier #8709
-
I am attempting to modify a couple ingress values in all ingresses using the restore-resource-modifier. This is a fairly large application which has many components deployed by third party helm charts so there are some inconsistencies in the yaml of the various ingresses. I am running into a situation where some ingress definitions do not include /spec/tls/0/hosts/0 or even the /spec/tls node at all. Most ingresses do though. Is there a way to check if the node exists and log a warning instead of marking the restore as partially failed? I have tried using test operation with a value of
vs
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
I think the way to tdo that is to break down your restore to smaller number of components. Perhaps at backup time label which item has /0/host/0 then you can backup separately ones that do and do not. |
Beta Was this translation helpful? Give feedback.
I think the way to tdo that is to break down your restore to smaller number of components. Perhaps at backup time label which item has /0/host/0 then you can backup separately ones that do and do not.