...
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: deploymentmanagerdeployments.deploymentmanager.cnrm.cloud.google.com
27spec:
28 group: deploymentmanager.cnrm.cloud.google.com
29 names:
30 categories:
31 - gcp
32 kind: DeploymentManagerDeployment
33 plural: deploymentmanagerdeployments
34 shortNames:
35 - gcpdeploymentmanagerdeployment
36 - gcpdeploymentmanagerdeployments
37 singular: deploymentmanagerdeployment
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 createPolicy:
75 description: |-
76 Immutable. Set the policy to use for creating new resources. Only used on
77 create and update. Valid values are 'CREATE_OR_ACQUIRE' (default) or
78 'ACQUIRE'. If set to 'ACQUIRE' and resources do not already exist,
79 the deployment will fail. Note that updating this field does not
80 actually affect the deployment, just how it is updated. Default value: "CREATE_OR_ACQUIRE" Possible values: ["ACQUIRE", "CREATE_OR_ACQUIRE"].
81 type: string
82 deletePolicy:
83 description: |-
84 Immutable. Set the policy to use for deleting new resources on update/delete.
85 Valid values are 'DELETE' (default) or 'ABANDON'. If 'DELETE',
86 resource is deleted after removal from Deployment Manager. If
87 'ABANDON', the resource is only removed from Deployment Manager
88 and is not actually deleted. Note that updating this field does not
89 actually change the deployment, just how it is updated. Default value: "DELETE" Possible values: ["ABANDON", "DELETE"].
90 type: string
91 description:
92 description: Optional user-provided description of deployment.
93 type: string
94 preview:
95 type: boolean
96 projectRef:
97 description: The project that this resource belongs to.
98 oneOf:
99 - not:
100 required:
101 - external
102 required:
103 - name
104 - not:
105 anyOf:
106 - required:
107 - name
108 - required:
109 - namespace
110 required:
111 - external
112 properties:
113 external:
114 description: 'Allowed value: The `name` field of a `Project` resource.'
115 type: string
116 name:
117 description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
118 type: string
119 namespace:
120 description: 'Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/'
121 type: string
122 type: object
123 resourceID:
124 description: Immutable. Optional. The name of the resource. Used for
125 creation and acquisition. When unset, the value of `metadata.name`
126 is used as the default.
127 type: string
128 target:
129 description: |-
130 Parameters that define your deployment, including the deployment
131 configuration and relevant templates.
132 properties:
133 config:
134 description: The root configuration file to use for this deployment.
135 properties:
136 content:
137 description: The full YAML contents of your configuration
138 file.
139 type: string
140 required:
141 - content
142 type: object
143 imports:
144 description: |-
145 Specifies import files for this configuration. This can be
146 used to import templates or other files. For example, you might
147 import a text file in order to use the file in a template.
148 items:
149 properties:
150 content:
151 description: The full contents of the template that you
152 want to import.
153 type: string
154 name:
155 description: |-
156 The name of the template to import, as declared in the YAML
157 configuration.
158 type: string
159 type: object
160 type: array
161 required:
162 - config
163 type: object
164 required:
165 - projectRef
166 - target
167 type: object
168 status:
169 properties:
170 conditions:
171 description: Conditions represent the latest available observation
172 of the resource's current state.
173 items:
174 properties:
175 lastTransitionTime:
176 description: Last time the condition transitioned from one status
177 to another.
178 type: string
179 message:
180 description: Human-readable message indicating details about
181 last transition.
182 type: string
183 reason:
184 description: Unique, one-word, CamelCase reason for the condition's
185 last transition.
186 type: string
187 status:
188 description: Status is the status of the condition. Can be True,
189 False, Unknown.
190 type: string
191 type:
192 description: Type is the type of the condition.
193 type: string
194 type: object
195 type: array
196 deploymentId:
197 description: Unique identifier for deployment. Output only.
198 type: string
199 manifest:
200 description: |-
201 Output only. URL of the manifest representing the last manifest that
202 was successfully deployed.
203 type: string
204 observedGeneration:
205 description: ObservedGeneration is the generation of the resource
206 that was most recently observed by the Config Connector controller.
207 If this is equal to metadata.generation, then that means that the
208 current reported status reflects the most recent desired state of
209 the resource.
210 type: integer
211 selfLink:
212 description: Output only. Server defined URL for the resource.
213 type: string
214 type: object
215 required:
216 - spec
217 type: object
218 served: true
219 storage: true
220 subresources:
221 status: {}
222status:
223 acceptedNames:
224 kind: ""
225 plural: ""
226 conditions: []
227 storedVersions: []
View as plain text