@@ -8,7 +8,7 @@ x-google-marketplace:
8
8
schemaVersion : v2
9
9
10
10
# MUST match the version of the Application custom resource object.
11
- # This is the same as the top level applicationApiVersion field in v1.
11
+ # This is the same as the top level applicationApiVersion field in v1.beta1
12
12
applicationApiVersion : v1beta1
13
13
14
14
# We are not "truely" following semver.org since we use a "-" for a final
@@ -346,45 +346,37 @@ properties:
346
346
x-google-marketplace :
347
347
type : SERVICE_ACCOUNT
348
348
serviceAccount :
349
- description : Service account used by preflight
349
+ description : Service account used by the Jetstack Secure Platform agent
350
350
roles :
351
351
- type : ClusterRole
352
352
rulesType : CUSTOM
353
353
rules :
354
- - apiGroups : [""]
355
- resources : ["nodes"]
354
+ # The jetstack secure agent gathers services for pod readiness
355
+ # probe rules.
356
+ - resources : ["services", "pods"]
356
357
verbs : ["get", "list"]
357
- - type : ClusterRole
358
- rulesType : CUSTOM
359
- rules :
360
- - apiGroups : [""]
361
- resources : ["secrets"]
358
+ # The jetstack secure agent gathers higher level resources to
359
+ # ensure data to determine ownership is present.
360
+ - resources : ["deployments", "daemonsets", "replicasets", "statefulsets"]
361
+ apiGroups : ["apps"]
362
+ verbs : ["get", "list"]
363
+ - resources : ["jobs", "cronjobs"]
364
+ apiGroups : ["batch"]
365
+ verbs : ["get", "list"]
366
+ # The jetstack secure agent gathers resources for cert-manager package.
367
+ - resources : ["secrets"]
368
+ verbs : ["get", "list"]
369
+ - apiGroups : ["networking.k8s.iobeta1"]
370
+ resources : ["ingresses"]
362
371
verbs : ["get", "list"]
363
- - type : ClusterRole
364
- rulesType : CUSTOM
365
- rules :
366
372
- apiGroups : ["cert-manager.io"]
367
- resources :
368
- - certificates
369
- - certificaterequests
370
- - issuers
371
- - clusterissuers
373
+ resources : ["certificates", "certificaterequests", "issuers", "clusterissuers"]
372
374
verbs : ["get", "list"]
373
- - type : ClusterRole
374
- rulesType : CUSTOM
375
- rules :
376
- - apiGroups : ["cas-issuer.jetstack.io"]
377
- resources :
378
- - googlecasissuers
379
- - googlecasclusterissuers
375
+ - apiGroups : ["cas-issuer.jetstack.ioalpha1"]
376
+ resources : ["googlecasissuers", "googlecasclusterissuers"]
380
377
verbs : ["get", "list"]
381
- - type : ClusterRole
382
- rulesType : CUSTOM
383
- rules :
384
378
- apiGroups : ["admissionregistration.k8s.io"]
385
- resources :
386
- - validatingwebhookconfigurations
387
- - mutatingwebhookconfigurations
379
+ resources : ["mutatingwebhookconfigurations", "validatingwebhookconfigurations"]
388
380
verbs : ["get", "list"]
389
381
390
382
# https://github.com/GoogleCloudPlatform/marketplace-k8s-app-tools/blob/64181be/docs/billing-integration.md
0 commit comments