Skip to content

Commit 2b3b3f4

Browse files
committed
Schema: deployer should be able to list RBACs
Signed-off-by: Maël Valais <[email protected]>
1 parent 2c7e38a commit 2b3b3f4

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

schema.yaml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ x-google-marketplace:
8181
ubbagent.image.tag:
8282
type: TAG
8383

84-
# Allow the deployer to create CRDs and webhook configurations See
84+
# Allow the deployer to create CRDs and webhook configurations. See:
8585
# https://github.com/GoogleCloudPlatform/marketplace-k8s-app-tools/blob/master/docs/schema.md#deployerserviceaccount
8686
deployerServiceAccount:
8787
# Note: the created serviceaccount is "{{.Release.Name}}-deployer-sa".
@@ -97,8 +97,11 @@ x-google-marketplace:
9797
- apiGroups: ["admissionregistration.k8s.io"]
9898
resources: ["*"]
9999
verbs: ["*"]
100-
101-
# Other fields, like clusterConstraints, can be included here.
100+
# Although the deployer does not create RBAC objets, it still
101+
# needs to be able to list them.
102+
- apiGroups: ["rbac.authorization.k8s.io"]
103+
resources: ["clusterrolebindings", "clusterroles", "rolebindings", "roles"]
104+
verbs: ["list", "get"]
102105

103106
# The Properties and Required sections of v2 are structured the same as those of v1.
104107
properties:

0 commit comments

Comments
 (0)