Upgrade to k8s 1.17 libraries, ignore option for certain fields in StatefulSets
The volumeClaimTemplates
field in a StatefulSet contains the full descriptions of the VolumeClaimTemplate
root object which makes diff checking harder, especially because the Kubernetes API server from version 1.17.4 started to send back Kind
and APIVersion
fields in the response which were previously left empty. The patch.IgnoreVolumeClaimTemplateTypeMetaAndStatus
option makes these and the status field checks avoidable.