Skip to content

Commit 9d5f02b

Browse files
authored
update service name (CrunchyData#3753)
1 parent 571ec6f commit 9d5f02b

File tree

4 files changed

+2
-4
lines changed

4 files changed

+2
-4
lines changed

internal/controller/standalone_pgadmin/service.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ func (r *PGAdminReconciler) reconcilePGAdminService(
6767
func service(
6868
pgadmin *v1beta1.PGAdmin) (*corev1.Service, error,
6969
) {
70-
service := &corev1.Service{ObjectMeta: naming.StandalonePGAdmin(pgadmin)}
70+
service := &corev1.Service{ObjectMeta: naming.StandalonePGAdminService(pgadmin)}
7171
service.SetGroupVersionKind(corev1.SchemeGroupVersion.WithKind("Service"))
7272

7373
service.Annotations = pgadmin.Spec.Metadata.GetAnnotationsOrNil()

testing/kuttl/e2e-other/standalone-pgadmin/files/00-pgadmin-check.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ metadata:
44
labels:
55
postgres-operator.crunchydata.com/role: pgadmin
66
postgres-operator.crunchydata.com/standalone-pgadmin: pgadmin
7-
name: pgadmin-standalone-pgadmin
7+
name: pgadmin-standalone-pods
88
spec:
99
ports:
1010
- name: pgadmin

testing/kuttl/e2e-other/standalone-pgadmin/files/00-pgadmin.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ kind: PGAdmin
33
metadata:
44
name: pgadmin
55
spec:
6-
adminUsername: [email protected]
76
dataVolumeClaimSpec:
87
accessModes:
98
- "ReadWriteOnce"

testing/kuttl/e2e-other/standalone-pgadmin/files/06-pgadmin.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ kind: PGAdmin
33
metadata:
44
name: pgadmin
55
spec:
6-
adminUsername: [email protected]
76
dataVolumeClaimSpec:
87
accessModes:
98
- "ReadWriteOnce"

0 commit comments

Comments
 (0)