...
1apiVersion: apiextensions.k8s.io/v1
2kind: CustomResourceDefinition
3metadata:
4 annotations:
5 cnrm.cloud.google.com/version: 0.0.0-dev
6 creationTimestamp: null
7 labels:
8 cnrm.cloud.google.com/managed-by-kcc: "true"
9 cnrm.cloud.google.com/stability-level: stable
10 cnrm.cloud.google.com/system: "true"
11 cnrm.cloud.google.com/tf2crd: "true"
12 name: pubsubtopics.pubsub.cnrm.cloud.google.com
13spec:
14 group: pubsub.cnrm.cloud.google.com
15 names:
16 categories:
17 - gcp
18 kind: PubSubTopic
19 plural: pubsubtopics
20 shortNames:
21 - gcppubsubtopic
22 - gcppubsubtopics
23 singular: pubsubtopic
24 preserveUnknownFields: false
25 scope: Namespaced
26 versions:
27 - additionalPrinterColumns:
28 - jsonPath: .metadata.creationTimestamp
29 name: Age
30 type: date
31 - description: When 'True', the most recent reconcile of the resource succeeded
32 jsonPath: .status.conditions[?(@.type=='Ready')].status
33 name: Ready
34 type: string
35 - description: The reason for the value in 'Ready'
36 jsonPath: .status.conditions[?(@.type=='Ready')].reason
37 name: Status
38 type: string
39 - description: The last transition time for the value in 'Status'
40 jsonPath: .status.conditions[?(@.type=='Ready')].lastTransitionTime
41 name: Status Age
42 type: date
43 name: v1beta1
44 schema:
45 openAPIV3Schema:
46 properties:
47 apiVersion:
48 description: 'apiVersion defines the versioned schema of this representation
49 of an object. Servers should convert recognized schemas to the latest
50 internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources'
51 type: string
52 kind:
53 description: 'kind is a string value representing the REST resource this
54 object represents. Servers may infer this from the endpoint the client
55 submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds'
56 type: string
57 metadata:
58 type: object
59 spec:
60 properties:
61 kmsKeyRef:
62 description: |-
63 The KMSCryptoKey to be used to protect access to messages published
64 on this topic. Your project's Pub/Sub service account
65 ('service-{{PROJECT_NUMBER}}@gcp-sa-pubsub.iam.gserviceaccount.com')
66 must have 'roles/cloudkms.cryptoKeyEncrypterDecrypter' to use this
67 feature.
68 oneOf:
69 - not:
70 required:
71 - external
72 required:
73 - name
74 - not:
75 anyOf:
76 - required:
77 - name
78 - required:
79 - namespace
80 required:
81 - external
82 properties:
83 external:
84 description: 'Allowed value: The `selfLink` field of a `KMSCryptoKey`
85 resource.'
86 type: string
87 name:
88 description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
89 type: string
90 namespace:
91 description: 'Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/'
92 type: string
93 type: object
94 messageRetentionDuration:
95 description: |-
96 Indicates the minimum duration to retain a message after it is published
97 to the topic. If this field is set, messages published to the topic in
98 the last messageRetentionDuration are always available to subscribers.
99 For instance, it allows any attached subscription to seek to a timestamp
100 that is up to messageRetentionDuration in the past. If this field is not
101 set, message retention is controlled by settings on individual subscriptions.
102 Cannot be more than 31 days or less than 10 minutes.
103 type: string
104 messageStoragePolicy:
105 description: |-
106 Policy constraining the set of Google Cloud Platform regions where
107 messages published to the topic may be stored. If not present, then no
108 constraints are in effect.
109 properties:
110 allowedPersistenceRegions:
111 description: |-
112 A list of IDs of GCP regions where messages that are published to
113 the topic may be persisted in storage. Messages published by
114 publishers running in non-allowed GCP regions (or running outside
115 of GCP altogether) will be routed for storage in one of the
116 allowed regions. An empty list means that no regions are allowed,
117 and is not a valid configuration.
118 items:
119 type: string
120 type: array
121 required:
122 - allowedPersistenceRegions
123 type: object
124 resourceID:
125 description: Immutable. Optional. The name of the resource. Used for
126 creation and acquisition. When unset, the value of `metadata.name`
127 is used as the default.
128 type: string
129 schemaSettings:
130 description: Settings for validating messages published against a
131 schema.
132 properties:
133 encoding:
134 description: 'The encoding of messages validated against schema.
135 Default value: "ENCODING_UNSPECIFIED" Possible values: ["ENCODING_UNSPECIFIED",
136 "JSON", "BINARY"].'
137 type: string
138 schemaRef:
139 oneOf:
140 - not:
141 required:
142 - external
143 required:
144 - name
145 - not:
146 anyOf:
147 - required:
148 - name
149 - required:
150 - namespace
151 required:
152 - external
153 properties:
154 external:
155 description: 'Allowed value: string of the format `projects/{{project}}/schemas/{{value}}`,
156 where {{value}} is the `name` field of a `PubSubSchema`
157 resource.'
158 type: string
159 name:
160 description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
161 type: string
162 namespace:
163 description: 'Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/'
164 type: string
165 type: object
166 required:
167 - schemaRef
168 type: object
169 type: object
170 status:
171 properties:
172 conditions:
173 description: Conditions represent the latest available observation
174 of the resource's current state.
175 items:
176 properties:
177 lastTransitionTime:
178 description: Last time the condition transitioned from one status
179 to another.
180 type: string
181 message:
182 description: Human-readable message indicating details about
183 last transition.
184 type: string
185 reason:
186 description: Unique, one-word, CamelCase reason for the condition's
187 last transition.
188 type: string
189 status:
190 description: Status is the status of the condition. Can be True,
191 False, Unknown.
192 type: string
193 type:
194 description: Type is the type of the condition.
195 type: string
196 type: object
197 type: array
198 observedGeneration:
199 description: ObservedGeneration is the generation of the resource
200 that was most recently observed by the Config Connector controller.
201 If this is equal to metadata.generation, then that means that the
202 current reported status reflects the most recent desired state of
203 the resource.
204 type: integer
205 type: object
206 type: object
207 served: true
208 storage: true
209 subresources:
210 status: {}
211status:
212 acceptedNames:
213 kind: ""
214 plural: ""
215 conditions: []
216 storedVersions: []
View as plain text