...
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: alpha
24 cnrm.cloud.google.com/system: "true"
25 cnrm.cloud.google.com/tf2crd: "true"
26 name: apigatewaygateways.apigateway.cnrm.cloud.google.com
27spec:
28 group: apigateway.cnrm.cloud.google.com
29 names:
30 categories:
31 - gcp
32 kind: APIGatewayGateway
33 plural: apigatewaygateways
34 shortNames:
35 - gcpapigatewaygateway
36 - gcpapigatewaygateways
37 singular: apigatewaygateway
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: v1alpha1
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 apiConfig:
75 description: |-
76 Resource name of the API Config for this Gateway. Format: projects/{project}/locations/global/apis/{api}/configs/{apiConfig}.
77 When changing api configs please ensure the new config is a new resource and the lifecycle rule 'create_before_destroy' is set.
78 type: string
79 displayName:
80 description: A user-visible name for the API.
81 type: string
82 projectRef:
83 description: The project that this resource belongs to.
84 oneOf:
85 - not:
86 required:
87 - external
88 required:
89 - name
90 - not:
91 anyOf:
92 - required:
93 - name
94 - required:
95 - namespace
96 required:
97 - external
98 properties:
99 external:
100 description: 'Allowed value: The `name` field of a `Project` resource.'
101 type: string
102 name:
103 description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
104 type: string
105 namespace:
106 description: 'Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/'
107 type: string
108 type: object
109 region:
110 description: Immutable. The region of the gateway for the API.
111 type: string
112 resourceID:
113 description: Immutable. Optional. The gatewayId of the resource. Used
114 for creation and acquisition. When unset, the value of `metadata.name`
115 is used as the default.
116 type: string
117 required:
118 - apiConfig
119 - projectRef
120 - region
121 type: object
122 status:
123 properties:
124 conditions:
125 description: Conditions represent the latest available observation
126 of the resource's current state.
127 items:
128 properties:
129 lastTransitionTime:
130 description: Last time the condition transitioned from one status
131 to another.
132 type: string
133 message:
134 description: Human-readable message indicating details about
135 last transition.
136 type: string
137 reason:
138 description: Unique, one-word, CamelCase reason for the condition's
139 last transition.
140 type: string
141 status:
142 description: Status is the status of the condition. Can be True,
143 False, Unknown.
144 type: string
145 type:
146 description: Type is the type of the condition.
147 type: string
148 type: object
149 type: array
150 defaultHostname:
151 description: The default API Gateway host name of the form {gatewayId}-{hash}.{region_code}.gateway.dev.
152 type: string
153 name:
154 description: 'Resource name of the Gateway. Format: projects/{project}/locations/{region}/gateways/{gateway}.'
155 type: string
156 observedGeneration:
157 description: ObservedGeneration is the generation of the resource
158 that was most recently observed by the Config Connector controller.
159 If this is equal to metadata.generation, then that means that the
160 current reported status reflects the most recent desired state of
161 the resource.
162 type: integer
163 type: object
164 required:
165 - spec
166 type: object
167 served: true
168 storage: true
169 subresources:
170 status: {}
171status:
172 acceptedNames:
173 kind: ""
174 plural: ""
175 conditions: []
176 storedVersions: []
View as plain text