...
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: beyondcorpappconnections.beyondcorp.cnrm.cloud.google.com
27spec:
28 group: beyondcorp.cnrm.cloud.google.com
29 names:
30 categories:
31 - gcp
32 kind: BeyondCorpAppConnection
33 plural: beyondcorpappconnections
34 shortNames:
35 - gcpbeyondcorpappconnection
36 - gcpbeyondcorpappconnections
37 singular: beyondcorpappconnection
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 applicationEndpoint:
75 description: Address of the remote application endpoint for the BeyondCorp
76 AppConnection.
77 properties:
78 host:
79 description: Hostname or IP address of the remote application
80 endpoint.
81 type: string
82 port:
83 description: Port of the remote application endpoint.
84 type: integer
85 required:
86 - host
87 - port
88 type: object
89 connectors:
90 description: List of AppConnectors that are authorised to be associated
91 with this AppConnection.
92 items:
93 type: string
94 type: array
95 displayName:
96 description: An arbitrary user-provided name for the AppConnection.
97 type: string
98 gateway:
99 description: Gateway used by the AppConnection.
100 properties:
101 appGateway:
102 description: 'AppGateway name in following format: projects/{project_id}/locations/{locationId}/appgateways/{gateway_id}.'
103 type: string
104 ingressPort:
105 description: Ingress port reserved on the gateways for this AppConnection,
106 if not specified or zero, the default port is 19443.
107 type: integer
108 type:
109 description: |-
110 The type of hosting used by the gateway. Refer to
111 https://cloud.google.com/beyondcorp/docs/reference/rest/v1/projects.locations.appConnections#Type_1
112 for a list of possible values.
113 type: string
114 uri:
115 description: Server-defined URI for this resource.
116 type: string
117 required:
118 - appGateway
119 type: object
120 projectRef:
121 description: The project that this resource belongs to.
122 oneOf:
123 - not:
124 required:
125 - external
126 required:
127 - name
128 - not:
129 anyOf:
130 - required:
131 - name
132 - required:
133 - namespace
134 required:
135 - external
136 properties:
137 external:
138 description: 'Allowed value: The `name` field of a `Project` resource.'
139 type: string
140 name:
141 description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
142 type: string
143 namespace:
144 description: 'Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/'
145 type: string
146 type: object
147 region:
148 description: Immutable. The region of the AppConnection.
149 type: string
150 resourceID:
151 description: Immutable. Optional. The name of the resource. Used for
152 creation and acquisition. When unset, the value of `metadata.name`
153 is used as the default.
154 type: string
155 type:
156 description: |-
157 Immutable. The type of network connectivity used by the AppConnection. Refer to
158 https://cloud.google.com/beyondcorp/docs/reference/rest/v1/projects.locations.appConnections#type
159 for a list of possible values.
160 type: string
161 required:
162 - applicationEndpoint
163 - projectRef
164 - region
165 type: object
166 status:
167 properties:
168 conditions:
169 description: Conditions represent the latest available observation
170 of the resource's current state.
171 items:
172 properties:
173 lastTransitionTime:
174 description: Last time the condition transitioned from one status
175 to another.
176 type: string
177 message:
178 description: Human-readable message indicating details about
179 last transition.
180 type: string
181 reason:
182 description: Unique, one-word, CamelCase reason for the condition's
183 last transition.
184 type: string
185 status:
186 description: Status is the status of the condition. Can be True,
187 False, Unknown.
188 type: string
189 type:
190 description: Type is the type of the condition.
191 type: string
192 type: object
193 type: array
194 observedGeneration:
195 description: ObservedGeneration is the generation of the resource
196 that was most recently observed by the Config Connector controller.
197 If this is equal to metadata.generation, then that means that the
198 current reported status reflects the most recent desired state of
199 the resource.
200 type: integer
201 type: object
202 required:
203 - spec
204 type: object
205 served: true
206 storage: true
207 subresources:
208 status: {}
209status:
210 acceptedNames:
211 kind: ""
212 plural: ""
213 conditions: []
214 storedVersions: []
View as plain text