postgres-operator/pkg/util/k8sutil
Jonathan Juares Beber 744c71d16b
Allow services update when changing annotations (#818)
The current implementations for `pkg.util.k8sutil.SameService` considers
only service annotations change on the default annotations created by the
operator. Custom annotations are not compared and consequently not
applied after the first service creation.

This commit introduces a complete annotations comparison between the
current service created by the operator and the new one generated based on
the configs. Also, it adds tests on the above-mentioned function.
2020-02-13 10:55:30 +01:00
..
k8sutil.go Allow services update when changing annotations (#818) 2020-02-13 10:55:30 +01:00
k8sutil_test.go Allow services update when changing annotations (#818) 2020-02-13 10:55:30 +01:00