diff --git a/component/vshn_postgres.jsonnet b/component/vshn_postgres.jsonnet index 3d8b00dc9..00db6dc0f 100644 --- a/component/vshn_postgres.jsonnet +++ b/component/vshn_postgres.jsonnet @@ -85,6 +85,7 @@ local namespace = comp.KubeObject('v1', 'Namespace') + labels: { [serviceNameLabelKey]: 'postgresql-standalone', [serviceNamespaceLabelKey]: '', + 'appuio.io/no-rbac-creation': 'true', }, }, }, diff --git a/component/vshn_redis.jsonnet b/component/vshn_redis.jsonnet index 9bb69ac08..495044e9f 100644 --- a/component/vshn_redis.jsonnet +++ b/component/vshn_redis.jsonnet @@ -53,6 +53,7 @@ local composition = labels: { [serviceNameLabelKey]: 'redis-standalone', [serviceNamespaceLabelKey]: '', + 'appuio.io/no-rbac-creation': 'true', }, }, }, diff --git a/tests/golden/vshn/appcat/appcat/21_composition_vshn_postgres.yaml b/tests/golden/vshn/appcat/appcat/21_composition_vshn_postgres.yaml index 3c7012fcc..1b88989a4 100644 --- a/tests/golden/vshn/appcat/appcat/21_composition_vshn_postgres.yaml +++ b/tests/golden/vshn/appcat/appcat/21_composition_vshn_postgres.yaml @@ -33,6 +33,7 @@ spec: labels: appcat.vshn.io/claim-namespace: '' appcat.vshn.io/servicename: postgresql-standalone + appuio.io/no-rbac-creation: 'true' name: '' managementPolicy: Observe providerConfigRef: @@ -65,6 +66,7 @@ spec: labels: appcat.vshn.io/claim-namespace: '' appcat.vshn.io/servicename: postgresql-standalone + appuio.io/no-rbac-creation: 'true' name: '' providerConfigRef: name: kubernetes diff --git a/tests/golden/vshn/appcat/appcat/21_composition_vshn_postgresrestore.yaml b/tests/golden/vshn/appcat/appcat/21_composition_vshn_postgresrestore.yaml index e3fbd93ce..39703fc98 100644 --- a/tests/golden/vshn/appcat/appcat/21_composition_vshn_postgresrestore.yaml +++ b/tests/golden/vshn/appcat/appcat/21_composition_vshn_postgresrestore.yaml @@ -33,6 +33,7 @@ spec: labels: appcat.vshn.io/claim-namespace: '' appcat.vshn.io/servicename: postgresql-standalone + appuio.io/no-rbac-creation: 'true' name: '' managementPolicy: Observe providerConfigRef: @@ -65,6 +66,7 @@ spec: labels: appcat.vshn.io/claim-namespace: '' appcat.vshn.io/servicename: postgresql-standalone + appuio.io/no-rbac-creation: 'true' name: '' providerConfigRef: name: kubernetes diff --git a/tests/golden/vshn/appcat/appcat/21_composition_vshn_redis.yaml b/tests/golden/vshn/appcat/appcat/21_composition_vshn_redis.yaml index a1c0a9434..d5616c8a7 100644 --- a/tests/golden/vshn/appcat/appcat/21_composition_vshn_redis.yaml +++ b/tests/golden/vshn/appcat/appcat/21_composition_vshn_redis.yaml @@ -33,6 +33,7 @@ spec: labels: appcat.vshn.io/claim-namespace: '' appcat.vshn.io/servicename: redis-standalone + appuio.io/no-rbac-creation: 'true' name: '' managementPolicy: Observe providerConfigRef: @@ -65,6 +66,7 @@ spec: labels: appcat.vshn.io/claim-namespace: '' appcat.vshn.io/servicename: redis-standalone + appuio.io/no-rbac-creation: 'true' name: '' providerConfigRef: name: kubernetes