forked from GoogleCloudPlatform/cloud-foundation-toolkit
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathKptfile
29 lines (29 loc) · 778 Bytes
/
Kptfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
apiVersion: kpt.dev/v1alpha1
kind: Kptfile
metadata:
name: pubsub-topic
packageMetadata:
shortDescription: Create a PubSub topic and enable IAM roles for it
openAPI:
definitions:
io.k8s.cli.setters.iam-member:
description: identity to grant privileges
x-k8s-cli:
setter:
name: iam-member
value: ${IAM_MEMBER?}
setBy: PLACEHOLDER
io.k8s.cli.setters.topic-name:
description: name of PubSub topic
x-k8s-cli:
setter:
name: topic-name
value: allowed-topic
setBy: package-default
io.k8s.cli.setters.role:
description: IAM role to grant
x-k8s-cli:
setter:
name: role
value: roles/pubsub.editor
setBy: package-default