diff --git a/internal/controller/standalone_pgadmin/statefulset_test.go b/internal/controller/standalone_pgadmin/statefulset_test.go index 52c501b35..34a346e80 100644 --- a/internal/controller/standalone_pgadmin/statefulset_test.go +++ b/internal/controller/standalone_pgadmin/statefulset_test.go @@ -73,6 +73,8 @@ func TestReconcilePGAdminStatefulSet(t *testing.T) { template.Spec.Volumes = nil assert.Assert(t, cmp.MarshalMatches(template.ObjectMeta, ` +annotations: + kubectl.kubernetes.io/default-container: pgadmin creationTimestamp: null labels: postgres-operator.crunchydata.com/data: pgadmin @@ -170,6 +172,7 @@ terminationGracePeriodSeconds: 30 assert.Assert(t, cmp.MarshalMatches(template.ObjectMeta, ` annotations: annotation1: annotationvalue + kubectl.kubernetes.io/default-container: pgadmin creationTimestamp: null labels: label1: labelvalue