...
1# Copyright 2020 Google LLC
2#
3# Licensed under the Apache License, Version 2.0 (the "License");
4# you may not use this file except in compliance with the License.
5# You may obtain a copy of the License at
6#
7# http://www.apache.org/licenses/LICENSE-2.0
8#
9# Unless required by applicable law or agreed to in writing, software
10# distributed under the License is distributed on an "AS IS" BASIS,
11# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12# See the License for the specific language governing permissions and
13# limitations under the License.
14
15apiVersion: apiextensions.k8s.io/v1
16kind: CustomResourceDefinition
17metadata:
18 annotations:
19 cnrm.cloud.google.com/version: 1.106.0
20 creationTimestamp: null
21 labels:
22 cnrm.cloud.google.com/managed-by-kcc: "true"
23 cnrm.cloud.google.com/stability-level: stable
24 cnrm.cloud.google.com/system: "true"
25 cnrm.cloud.google.com/tf2crd: "true"
26 name: computenetworkendpointgroups.compute.cnrm.cloud.google.com
27spec:
28 group: compute.cnrm.cloud.google.com
29 names:
30 categories:
31 - gcp
32 kind: ComputeNetworkEndpointGroup
33 plural: computenetworkendpointgroups
34 shortNames:
35 - gcpcomputenetworkendpointgroup
36 - gcpcomputenetworkendpointgroups
37 singular: computenetworkendpointgroup
38 scope: Namespaced
39 versions:
40 - additionalPrinterColumns:
41 - jsonPath: .metadata.creationTimestamp
42 name: Age
43 type: date
44 - description: When 'True', the most recent reconcile of the resource succeeded
45 jsonPath: .status.conditions[?(@.type=='Ready')].status
46 name: Ready
47 type: string
48 - description: The reason for the value in 'Ready'
49 jsonPath: .status.conditions[?(@.type=='Ready')].reason
50 name: Status
51 type: string
52 - description: The last transition time for the value in 'Status'
53 jsonPath: .status.conditions[?(@.type=='Ready')].lastTransitionTime
54 name: Status Age
55 type: date
56 name: v1beta1
57 schema:
58 openAPIV3Schema:
59 properties:
60 apiVersion:
61 description: 'apiVersion defines the versioned schema of this representation
62 of an object. Servers should convert recognized schemas to the latest
63 internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources'
64 type: string
65 kind:
66 description: 'kind is a string value representing the REST resource this
67 object represents. Servers may infer this from the endpoint the client
68 submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds'
69 type: string
70 metadata:
71 type: object
72 spec:
73 properties:
74 defaultPort:
75 description: |-
76 Immutable. The default port used if the port number is not specified in the
77 network endpoint.
78 type: integer
79 description:
80 description: |-
81 Immutable. An optional description of this resource. Provide this property when
82 you create the resource.
83 type: string
84 location:
85 description: 'Location represents the geographical location of the
86 ComputeNetworkEndpointGroup. Specify a zone name. Reference: GCP
87 definition of regions/zones (https://cloud.google.com/compute/docs/regions-zones/)'
88 type: string
89 networkEndpointType:
90 description: |-
91 Immutable. Type of network endpoints in this network endpoint group.
92 NON_GCP_PRIVATE_IP_PORT is used for hybrid connectivity network
93 endpoint groups (see https://cloud.google.com/load-balancing/docs/hybrid).
94 Note that NON_GCP_PRIVATE_IP_PORT can only be used with Backend Services
95 that 1) have the following load balancing schemes: EXTERNAL, EXTERNAL_MANAGED,
96 INTERNAL_MANAGED, and INTERNAL_SELF_MANAGED and 2) support the RATE or
97 CONNECTION balancing modes.
98
99 Possible values include: GCE_VM_IP, GCE_VM_IP_PORT, and NON_GCP_PRIVATE_IP_PORT. Default value: "GCE_VM_IP_PORT" Possible values: ["GCE_VM_IP", "GCE_VM_IP_PORT", "NON_GCP_PRIVATE_IP_PORT"].
100 type: string
101 networkRef:
102 description: |-
103 The network to which all network endpoints in the NEG belong. Uses
104 "default" project network if unspecified.
105 oneOf:
106 - not:
107 required:
108 - external
109 required:
110 - name
111 - not:
112 anyOf:
113 - required:
114 - name
115 - required:
116 - namespace
117 required:
118 - external
119 properties:
120 external:
121 description: 'Allowed value: The `selfLink` field of a `ComputeNetwork`
122 resource.'
123 type: string
124 name:
125 description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
126 type: string
127 namespace:
128 description: 'Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/'
129 type: string
130 type: object
131 resourceID:
132 description: Immutable. Optional. The name of the resource. Used for
133 creation and acquisition. When unset, the value of `metadata.name`
134 is used as the default.
135 type: string
136 subnetworkRef:
137 description: Optional subnetwork to which all network endpoints in
138 the NEG belong.
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: The `selfLink` field of a `ComputeSubnetwork`
156 resource.'
157 type: string
158 name:
159 description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
160 type: string
161 namespace:
162 description: 'Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/'
163 type: string
164 type: object
165 required:
166 - location
167 - networkRef
168 type: object
169 status:
170 properties:
171 conditions:
172 description: Conditions represent the latest available observation
173 of the resource's current state.
174 items:
175 properties:
176 lastTransitionTime:
177 description: Last time the condition transitioned from one status
178 to another.
179 type: string
180 message:
181 description: Human-readable message indicating details about
182 last transition.
183 type: string
184 reason:
185 description: Unique, one-word, CamelCase reason for the condition's
186 last transition.
187 type: string
188 status:
189 description: Status is the status of the condition. Can be True,
190 False, Unknown.
191 type: string
192 type:
193 description: Type is the type of the condition.
194 type: string
195 type: object
196 type: array
197 observedGeneration:
198 description: ObservedGeneration is the generation of the resource
199 that was most recently observed by the Config Connector controller.
200 If this is equal to metadata.generation, then that means that the
201 current reported status reflects the most recent desired state of
202 the resource.
203 type: integer
204 selfLink:
205 type: string
206 size:
207 description: Number of network endpoints in the network endpoint group.
208 type: integer
209 type: object
210 required:
211 - spec
212 type: object
213 served: true
214 storage: true
215 subresources:
216 status: {}
217status:
218 acceptedNames:
219 kind: ""
220 plural: ""
221 conditions: []
222 storedVersions: []
View as plain text