...
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: notebooksenvironments.notebooks.cnrm.cloud.google.com
27spec:
28 group: notebooks.cnrm.cloud.google.com
29 names:
30 categories:
31 - gcp
32 kind: NotebooksEnvironment
33 plural: notebooksenvironments
34 shortNames:
35 - gcpnotebooksenvironment
36 - gcpnotebooksenvironments
37 singular: notebooksenvironment
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 containerImage:
75 description: Use a container image to start the notebook instance.
76 properties:
77 repository:
78 description: |-
79 The path to the container image repository.
80 For example: gcr.io/{project_id}/{imageName}.
81 type: string
82 tag:
83 description: The tag of the container image. If not specified,
84 this defaults to the latest tag.
85 type: string
86 required:
87 - repository
88 type: object
89 description:
90 description: A brief description of this environment.
91 type: string
92 displayName:
93 description: Display name of this environment for the UI.
94 type: string
95 locationRef:
96 oneOf:
97 - not:
98 required:
99 - external
100 required:
101 - name
102 - not:
103 anyOf:
104 - required:
105 - name
106 - required:
107 - namespace
108 required:
109 - external
110 properties:
111 external:
112 description: 'Allowed value: The `name` field of a `NotebooksLocation`
113 resource.'
114 type: string
115 name:
116 description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
117 type: string
118 namespace:
119 description: 'Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/'
120 type: string
121 type: object
122 postStartupScript:
123 description: |-
124 Path to a Bash script that automatically runs after a notebook instance fully boots up.
125 The path must be a URL or Cloud Storage path. Example: "gs://path-to-file/file-name".
126 type: string
127 projectRef:
128 description: The project that this resource belongs to.
129 oneOf:
130 - not:
131 required:
132 - external
133 required:
134 - name
135 - not:
136 anyOf:
137 - required:
138 - name
139 - required:
140 - namespace
141 required:
142 - external
143 properties:
144 external:
145 description: 'Allowed value: The `name` field of a `Project` resource.'
146 type: string
147 name:
148 description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
149 type: string
150 namespace:
151 description: 'Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/'
152 type: string
153 type: object
154 resourceID:
155 description: Immutable. Optional. The name of the resource. Used for
156 creation and acquisition. When unset, the value of `metadata.name`
157 is used as the default.
158 type: string
159 vmImage:
160 description: Use a Compute Engine VM image to start the notebook instance.
161 properties:
162 imageFamily:
163 description: Use this VM image family to find the image; the newest
164 image in this family will be used.
165 type: string
166 imageName:
167 description: Use VM image name to find the image.
168 type: string
169 project:
170 description: |-
171 The name of the Google Cloud project that this VM image belongs to.
172 Format: projects/{project_id}.
173 type: string
174 required:
175 - project
176 type: object
177 required:
178 - locationRef
179 - projectRef
180 type: object
181 status:
182 properties:
183 conditions:
184 description: Conditions represent the latest available observation
185 of the resource's current state.
186 items:
187 properties:
188 lastTransitionTime:
189 description: Last time the condition transitioned from one status
190 to another.
191 type: string
192 message:
193 description: Human-readable message indicating details about
194 last transition.
195 type: string
196 reason:
197 description: Unique, one-word, CamelCase reason for the condition's
198 last transition.
199 type: string
200 status:
201 description: Status is the status of the condition. Can be True,
202 False, Unknown.
203 type: string
204 type:
205 description: Type is the type of the condition.
206 type: string
207 type: object
208 type: array
209 createTime:
210 description: Instance creation time.
211 type: string
212 observedGeneration:
213 description: ObservedGeneration is the generation of the resource
214 that was most recently observed by the Config Connector controller.
215 If this is equal to metadata.generation, then that means that the
216 current reported status reflects the most recent desired state of
217 the resource.
218 type: integer
219 type: object
220 required:
221 - spec
222 type: object
223 served: true
224 storage: true
225 subresources:
226 status: {}
227status:
228 acceptedNames:
229 kind: ""
230 plural: ""
231 conditions: []
232 storedVersions: []
View as plain text