...
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: alpha
10 cnrm.cloud.google.com/system: "true"
11 cnrm.cloud.google.com/tf2crd: "true"
12 name: cloudassetfolderfeeds.cloudasset.cnrm.cloud.google.com
13spec:
14 group: cloudasset.cnrm.cloud.google.com
15 names:
16 categories:
17 - gcp
18 kind: CloudAssetFolderFeed
19 plural: cloudassetfolderfeeds
20 shortNames:
21 - gcpcloudassetfolderfeed
22 - gcpcloudassetfolderfeeds
23 singular: cloudassetfolderfeed
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: v1alpha1
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 assetNames:
62 description: |-
63 A list of the full names of the assets to receive updates. You must specify either or both of
64 assetNames and assetTypes. Only asset updates matching specified assetNames and assetTypes are
65 exported to the feed. For example: //compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1.
66 See https://cloud.google.com/apis/design/resourceNames#fullResourceName for more info.
67 items:
68 type: string
69 type: array
70 assetTypes:
71 description: |-
72 A list of types of the assets to receive updates. You must specify either or both of assetNames
73 and assetTypes. Only asset updates matching specified assetNames and assetTypes are exported to
74 the feed. For example: "compute.googleapis.com/Disk"
75 See https://cloud.google.com/asset-inventory/docs/supported-asset-types for a list of all
76 supported asset types.
77 items:
78 type: string
79 type: array
80 billingProject:
81 description: |-
82 Immutable. The project whose identity will be used when sending messages to the
83 destination pubsub topic. It also specifies the project for API
84 enablement check, quota, and billing.
85 type: string
86 condition:
87 description: |-
88 A condition which determines whether an asset update should be published. If specified, an asset
89 will be returned only when the expression evaluates to true. When set, expression field
90 must be a valid CEL expression on a TemporalAsset with name temporal_asset. Example: a Feed with
91 expression "temporal_asset.deleted == true" will only publish Asset deletions. Other fields of
92 condition are optional.
93 properties:
94 description:
95 description: |-
96 Description of the expression. This is a longer text which describes the expression,
97 e.g. when hovered over it in a UI.
98 type: string
99 expression:
100 description: Textual representation of an expression in Common
101 Expression Language syntax.
102 type: string
103 location:
104 description: |-
105 String indicating the location of the expression for error reporting, e.g. a file
106 name and a position in the file.
107 type: string
108 title:
109 description: |-
110 Title for the expression, i.e. a short string describing its purpose.
111 This can be used e.g. in UIs which allow to enter the expression.
112 type: string
113 required:
114 - expression
115 type: object
116 contentType:
117 description: 'Asset content type. If not specified, no content but
118 the asset name and type will be returned. Possible values: ["CONTENT_TYPE_UNSPECIFIED",
119 "RESOURCE", "IAM_POLICY", "ORG_POLICY", "OS_INVENTORY", "ACCESS_POLICY"].'
120 type: string
121 feedId:
122 description: Immutable. This is the client-assigned asset feed identifier
123 and it needs to be unique under a specific parent.
124 type: string
125 feedOutputConfig:
126 description: Output configuration for asset feed destination.
127 properties:
128 pubsubDestination:
129 description: Destination on Cloud Pubsub.
130 properties:
131 topic:
132 description: Destination on Cloud Pubsub topic.
133 type: string
134 required:
135 - topic
136 type: object
137 required:
138 - pubsubDestination
139 type: object
140 folder:
141 description: Immutable. The folder this feed should be created in.
142 type: string
143 folderRef:
144 description: The folder that this resource belongs to.
145 oneOf:
146 - not:
147 required:
148 - external
149 required:
150 - name
151 - not:
152 anyOf:
153 - required:
154 - name
155 - required:
156 - namespace
157 required:
158 - external
159 properties:
160 external:
161 description: 'Allowed value: The `name` field of a `Folder` resource.'
162 type: string
163 name:
164 description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
165 type: string
166 namespace:
167 description: 'Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/'
168 type: string
169 type: object
170 resourceID:
171 description: Immutable. Optional. The service-generated name of the
172 resource. Used for acquisition only. Leave unset to create a new
173 resource.
174 type: string
175 required:
176 - billingProject
177 - feedId
178 - feedOutputConfig
179 - folder
180 - folderRef
181 type: object
182 status:
183 properties:
184 conditions:
185 description: Conditions represent the latest available observation
186 of the resource's current state.
187 items:
188 properties:
189 lastTransitionTime:
190 description: Last time the condition transitioned from one status
191 to another.
192 type: string
193 message:
194 description: Human-readable message indicating details about
195 last transition.
196 type: string
197 reason:
198 description: Unique, one-word, CamelCase reason for the condition's
199 last transition.
200 type: string
201 status:
202 description: Status is the status of the condition. Can be True,
203 False, Unknown.
204 type: string
205 type:
206 description: Type is the type of the condition.
207 type: string
208 type: object
209 type: array
210 folderId:
211 description: |-
212 The ID of the folder where this feed has been created. Both [FOLDER_NUMBER]
213 and folders/[FOLDER_NUMBER] are accepted.
214 type: string
215 name:
216 description: The format will be folders/{folder_number}/feeds/{client-assigned_feed_identifier}.
217 type: string
218 observedGeneration:
219 description: ObservedGeneration is the generation of the resource
220 that was most recently observed by the Config Connector controller.
221 If this is equal to metadata.generation, then that means that the
222 current reported status reflects the most recent desired state of
223 the resource.
224 type: integer
225 type: object
226 required:
227 - spec
228 type: object
229 served: true
230 storage: true
231 subresources:
232 status: {}
233status:
234 acceptedNames:
235 kind: ""
236 plural: ""
237 conditions: []
238 storedVersions: []
View as plain text