Open lsne opened 1 year ago
I want to ignore the env field of the first container of the POD in the StatefulSet for example: spec.template.spec.containers[0].env
But it doesn't work if I set it like this: patch.IgnoreField("spec.template.spec.containers[0].env")
patch.IgnoreField() can only ignore the fields of the first layer.
Can you support fields that ignore nested levels?
I want to ignore the env field of the first container of the POD in the StatefulSet for example: spec.template.spec.containers[0].env
But it doesn't work if I set it like this: patch.IgnoreField("spec.template.spec.containers[0].env")
patch.IgnoreField() can only ignore the fields of the first layer.
Can you support fields that ignore nested levels?