Skip to content

Upgrade to k8s 1.17 libraries, ignore option for certain fields in StatefulSets

Compare
Choose a tag to compare
@pepov pepov released this 04 May 12:59
· 103 commits to master since this release
ef5208c

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.