check if node exists in restore resource modifier #8709
Unanswered
0R9H3U5
asked this question in
Community support Q&A
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.
1 reply
# for free
to join this conversation on GitHub.
Already have an account?
# to comment
-
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
.*
which still results in errors in the restore and a partially failed designationvs
Beta Was this translation helpful? Give feedback.
All reactions