File tree Expand file tree Collapse file tree 1 file changed +17
-0
lines changed Expand file tree Collapse file tree 1 file changed +17
-0
lines changed Original file line number Diff line number Diff line change @@ -43,6 +43,23 @@ x-google-marketplace:
4343 cert-manager.cainjector.image.tag :
4444 type : TAG
4545
46+ # Allow the deployer to create CRDs and webhook configurations
47+ # See https://github.com/GoogleCloudPlatform/marketplace-k8s-app-tools/blob/master/docs/schema.md#deployerserviceaccount
48+ # TODO: Consider whether these permissions can be tightened.
49+ deployerServiceAccount :
50+ description : >
51+ Creates app resources, including the MyAppCustomResource CRD.
52+ roles :
53+ - type : ClusterRole
54+ rulesType : CUSTOM
55+ rules :
56+ - apiGroups : ['apiextensions.k8s.io']
57+ resources : ['customresourcedefinitions']
58+ verbs : ['*']
59+ - apiGroups : ["admissionregistration.k8s.io"]
60+ resources : ["*"]
61+ verbs : ["*"]
62+
4663 # Other fields, like clusterConstraints, can be included here.
4764
4865# The Properties and Required sections of v2 are structured the same as those of v1.
You can’t perform that action at this time.
0 commit comments