Skip to content

Commit 704dd77

Browse files
authored
Merge pull request #1116 from vshn/fix-maintenance-cnpg
Fix service id in cnpg
2 parents dfdce4b + 0530933 commit 704dd77

File tree

5 files changed

+9
-4
lines changed

5 files changed

+9
-4
lines changed

component/vshn_postgres_cnpg.jsonnet

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,11 @@ local composition =
5050
common.SyncOptions +
5151
common.vshnMetaVshnDBaas('PostgreSQL', 'standalone', 'true', pgPlans) +
5252
{
53+
metadata+: {
54+
labels+: {
55+
'metadata.appcat.vshn.io/serviceID': common.VSHNServiceID(serviceName),
56+
},
57+
},
5358
spec: {
5459
compositeTypeRef: {
5560
apiVersion: 'vshn.appcat.vshn.io/v1',

tests/golden/control-plane/appcat/appcat/21_composition_vshn_postgrescnpg.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ metadata:
1616
labels:
1717
metadata.appcat.vshn.io/offered: 'true'
1818
metadata.appcat.vshn.io/revision: master-f17ade7914225bd5368fe7c06593f1c3ba082606
19-
metadata.appcat.vshn.io/serviceID: vshn-postgresql
19+
metadata.appcat.vshn.io/serviceID: vshn-postgresqlcnpg
2020
name: vshnpostgrescnpg.vshn.appcat.vshn.io
2121
name: vshnpostgrescnpg.vshn.appcat.vshn.io
2222
spec:

tests/golden/dev/appcat/appcat/21_composition_vshn_postgrescnpg.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ metadata:
1616
labels:
1717
metadata.appcat.vshn.io/offered: 'true'
1818
metadata.appcat.vshn.io/revision: debug-f17ade7914225bd5368fe7c06593f1c3ba082606
19-
metadata.appcat.vshn.io/serviceID: vshn-postgresql
19+
metadata.appcat.vshn.io/serviceID: vshn-postgresqlcnpg
2020
name: vshnpostgrescnpg.vshn.appcat.vshn.io
2121
name: vshnpostgrescnpg.vshn.appcat.vshn.io
2222
spec:

tests/golden/vshn-cloud/appcat/appcat/21_composition_vshn_postgrescnpg.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ metadata:
1616
labels:
1717
metadata.appcat.vshn.io/offered: 'true'
1818
metadata.appcat.vshn.io/revision: master-f17ade7914225bd5368fe7c06593f1c3ba082606
19-
metadata.appcat.vshn.io/serviceID: vshn-postgresql
19+
metadata.appcat.vshn.io/serviceID: vshn-postgresqlcnpg
2020
name: vshnpostgrescnpg.vshn.appcat.vshn.io
2121
name: vshnpostgrescnpg.vshn.appcat.vshn.io
2222
spec:

tests/golden/vshn-managed/appcat/appcat/21_composition_vshn_postgrescnpg.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ metadata:
1616
labels:
1717
metadata.appcat.vshn.io/offered: 'true'
1818
metadata.appcat.vshn.io/revision: master-f17ade7914225bd5368fe7c06593f1c3ba082606
19-
metadata.appcat.vshn.io/serviceID: vshn-postgresql
19+
metadata.appcat.vshn.io/serviceID: vshn-postgresqlcnpg
2020
name: vshnpostgrescnpg.vshn.appcat.vshn.io
2121
name: vshnpostgrescnpg.vshn.appcat.vshn.io
2222
spec:

0 commit comments

Comments
 (0)