Skip to content

Commit

Permalink
test update
Browse files Browse the repository at this point in the history
  • Loading branch information
benjaminjb committed Nov 18, 2024
1 parent 8e89380 commit 2fd4ef0
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions internal/controller/standalone_pgadmin/statefulset_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 2fd4ef0

Please sign in to comment.