cisco-open / k8s-objectmatcher

A Kubernetes object matcher library to avoid unnecessary K8s object updates
Apache License 2.0
157 stars 29 forks source link

Fix IgnoreVolumeClaimTemplateTypeMetaAndStatus #37

Closed pepov closed 3 years ago

pepov commented 3 years ago
Q A
Bug fix? yes
New feature? no
API breaks? no
Deprecations? no
License Apache 2.0

What's in this PR?

Fixes the ignore calculation that handles PVC templates in statefulsets correctly so that it can be used with all resource types and with K8S 1.17 and up.

Why?

The current ignore calculation cannot be used for all resource types.