merge2: preserve explicitly set null values

Fixed bug where an explicitly set null value in yaml was
cleared, even when the patch did not operate on that field.
This commit is contained in:
Brian Pursley
2022-11-26 16:33:14 -05:00
parent e5ab220821
commit 1b7db20504
4 changed files with 113 additions and 2 deletions

View File

@@ -397,6 +397,7 @@ spec:
replicas: 1
template:
metadata:
creationTimestamp: null
labels:
workload.sas.com/class: stateless
spec: