...
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: cloudassetorganizationfeeds.cloudasset.cnrm.cloud.google.com
13spec:
14 group: cloudasset.cnrm.cloud.google.com
15 names:
16 categories:
17 - gcp
18 kind: CloudAssetOrganizationFeed
19 plural: cloudassetorganizationfeeds
20 shortNames:
21 - gcpcloudassetorganizationfeed
22 - gcpcloudassetorganizationfeeds
23 singular: cloudassetorganizationfeed
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 organizationRef:
141 description: The organization that this resource belongs to.
142 oneOf:
143 - not:
144 required:
145 - external
146 required:
147 - name
148 - not:
149 anyOf:
150 - required:
151 - name
152 - required:
153 - namespace
154 required:
155 - external
156 properties:
157 external:
158 description: 'Allowed value: The `name` field of an `Organization`
159 resource.'
160 type: string
161 name:
162 description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
163 type: string
164 namespace:
165 description: 'Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/'
166 type: string
167 type: object
168 resourceID:
169 description: Immutable. Optional. The service-generated name of the
170 resource. Used for acquisition only. Leave unset to create a new
171 resource.
172 type: string
173 required:
174 - billingProject
175 - feedId
176 - feedOutputConfig
177 - organizationRef
178 type: object
179 status:
180 properties:
181 conditions:
182 description: Conditions represent the latest available observation
183 of the resource's current state.
184 items:
185 properties:
186 lastTransitionTime:
187 description: Last time the condition transitioned from one status
188 to another.
189 type: string
190 message:
191 description: Human-readable message indicating details about
192 last transition.
193 type: string
194 reason:
195 description: Unique, one-word, CamelCase reason for the condition's
196 last transition.
197 type: string
198 status:
199 description: Status is the status of the condition. Can be True,
200 False, Unknown.
201 type: string
202 type:
203 description: Type is the type of the condition.
204 type: string
205 type: object
206 type: array
207 name:
208 description: The format will be organizations/{organization_number}/feeds/{client-assigned_feed_identifier}.
209 type: string
210 observedGeneration:
211 description: ObservedGeneration is the generation of the resource
212 that was most recently observed by the Config Connector controller.
213 If this is equal to metadata.generation, then that means that the
214 current reported status reflects the most recent desired state of
215 the resource.
216 type: integer
217 type: object
218 required:
219 - spec
220 type: object
221 served: true
222 storage: true
223 subresources:
224 status: {}
225status:
226 acceptedNames:
227 kind: ""
228 plural: ""
229 conditions: []
230 storedVersions: []
View as plain text