You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: chart/crds/terraform.core.oam.dev_configurations.yaml
+85-78Lines changed: 85 additions & 78 deletions
Original file line number
Diff line number
Diff line change
@@ -1,11 +1,9 @@
1
-
2
1
---
3
2
apiVersion: apiextensions.k8s.io/v1
4
3
kind: CustomResourceDefinition
5
4
metadata:
6
5
annotations:
7
-
controller-gen.kubebuilder.io/version: v0.6.2
8
-
creationTimestamp: null
6
+
controller-gen.kubebuilder.io/version: v0.16.5
9
7
name: configurations.terraform.core.oam.dev
10
8
spec:
11
9
group: terraform.core.oam.dev
@@ -32,30 +30,34 @@ spec:
32
30
description: Configuration is the Schema for the configurations API
33
31
properties:
34
32
apiVersion:
35
-
description: 'APIVersion defines the versioned schema of this representation
36
-
of an object. Servers should convert recognized schemas to the latest
37
-
internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
33
+
description: |-
34
+
APIVersion defines the versioned schema of this representation of an object.
35
+
Servers should convert recognized schemas to the latest internal value, and
36
+
may reject unrecognized values.
37
+
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
38
38
type: string
39
39
kind:
40
-
description: 'Kind is a string value representing the REST resource this
41
-
object represents. Servers may infer this from the endpoint the client
42
-
submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
40
+
description: |-
41
+
Kind is a string value representing the REST resource this object represents.
42
+
Servers may infer this from the endpoint the client submits requests to.
43
+
Cannot be updated.
44
+
In CamelCase.
45
+
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
43
46
type: string
44
47
metadata:
45
48
type: object
46
49
spec:
47
50
description: ConfigurationSpec defines the desired state of Configuration
48
51
properties:
49
52
JSON:
50
-
description: 'JSON is the Terraform JSON syntax configuration. Deprecated:
51
-
after v0.3.1, use HCL instead.'
53
+
description: |-
54
+
JSON is the Terraform JSON syntax configuration.
55
+
Deprecated: after v0.3.1, use HCL instead.
52
56
type: string
53
57
backend:
54
-
description: Backend stores the state in a Kubernetes secret with
55
-
locking done using a Lease resource. TODO(zzxwill) If a backend
56
-
exists in HCL/JSON, this can be optional. Currently, if Backend
57
-
is not set by users, it still will set by the controller, ignoring
58
-
the settings in HCL/JSON backend
58
+
description: |-
59
+
Backend stores the state in a Kubernetes secret with locking done using a Lease resource.
60
+
still will set by the controller, ignoring the settings in HCL/JSON backend
59
61
properties:
60
62
inClusterConfig:
61
63
description: InClusterConfig Used to authenticate to the cluster
@@ -76,14 +78,15 @@ spec:
76
78
to the secret containing the git credentials
77
79
properties:
78
80
name:
79
-
description: Name is unique within a namespace to reference a
81
+
description: name is unique within a namespace to reference a
80
82
secret resource.
81
83
type: string
82
84
namespace:
83
-
description: Namespace defines the space within which the secret
85
+
description: namespace defines the space within which the secret
84
86
name must be unique.
85
87
type: string
86
88
type: object
89
+
x-kubernetes-map-type: atomic
87
90
hcl:
88
91
description: HCL is the Terraform HCL type configuration
89
92
type: string
@@ -117,49 +120,52 @@ spec:
117
120
helper
118
121
properties:
119
122
name:
120
-
description: Name is unique within a namespace to reference a
123
+
description: name is unique within a namespace to reference a
121
124
secret resource.
122
125
type: string
123
126
namespace:
124
-
description: Namespace defines the space within which the secret
127
+
description: namespace defines the space within which the secret
125
128
name must be unique.
126
129
type: string
127
130
type: object
131
+
x-kubernetes-map-type: atomic
128
132
terraformCredentialsSecretReference:
129
133
description: TerraformCredentialsSecretReference specifies the reference
130
134
to the secret containing the terraform credentials
131
135
properties:
132
136
name:
133
-
description: Name is unique within a namespace to reference a
137
+
description: name is unique within a namespace to reference a
134
138
secret resource.
135
139
type: string
136
140
namespace:
137
-
description: Namespace defines the space within which the secret
141
+
description: namespace defines the space within which the secret
138
142
name must be unique.
139
143
type: string
140
144
type: object
145
+
x-kubernetes-map-type: atomic
141
146
terraformRCConfigMapReference:
142
147
description: TerraformRCConfigMapReference specifies the reference
143
148
to a config map containing the terraform registry configuration
144
149
properties:
145
150
name:
146
-
description: Name is unique within a namespace to reference a
151
+
description: name is unique within a namespace to reference a
147
152
secret resource.
148
153
type: string
149
154
namespace:
150
-
description: Namespace defines the space within which the secret
155
+
description: namespace defines the space within which the secret
151
156
name must be unique.
152
157
type: string
153
158
type: object
159
+
x-kubernetes-map-type: atomic
154
160
variable:
155
161
type: object
156
162
x-kubernetes-preserve-unknown-fields: true
157
163
writeConnectionSecretToRef:
158
-
description: WriteConnectionSecretToReference specifies the namespace
159
-
and name of a Secret to which any connection details for this managed
160
-
resource should be written. Connection details frequently include
161
-
the endpoint, username, and password required to connect to the
162
-
managed resource.
164
+
description: |-
165
+
WriteConnectionSecretToReference specifies the namespace and name of a
166
+
Secret to which any connection details for this managed resource should
167
+
be written. Connection details frequently include the endpoint, username,
168
+
and password required to connect to the managed resource.
163
169
properties:
164
170
name:
165
171
description: Name of the secret.
@@ -205,9 +211,9 @@ spec:
205
211
type: string
206
212
type: object
207
213
observedGeneration:
208
-
description: observedGeneration is the most recent generation observed
209
-
for this Configuration. It corresponds to the Configuration's generation,
210
-
which is updated on mutation by the API Server.
214
+
description: |-
215
+
observedGeneration is the most recent generation observed for this Configuration. It corresponds to the
216
+
Configuration's generation, which is updated on mutation by the API Server.
211
217
format: int64
212
218
type: integer
213
219
type: object
@@ -232,14 +238,19 @@ spec:
232
238
description: Configuration is the Schema for the configurations API
233
239
properties:
234
240
apiVersion:
235
-
description: 'APIVersion defines the versioned schema of this representation
236
-
of an object. Servers should convert recognized schemas to the latest
237
-
internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
241
+
description: |-
242
+
APIVersion defines the versioned schema of this representation of an object.
243
+
Servers should convert recognized schemas to the latest internal value, and
244
+
may reject unrecognized values.
245
+
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
238
246
type: string
239
247
kind:
240
-
description: 'Kind is a string value representing the REST resource this
241
-
object represents. Servers may infer this from the endpoint the client
242
-
submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
248
+
description: |-
249
+
Kind is a string value representing the REST resource this object represents.
250
+
Servers may infer this from the endpoint the client submits requests to.
251
+
Cannot be updated.
252
+
In CamelCase.
253
+
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
243
254
type: string
244
255
metadata:
245
256
type: object
@@ -250,13 +261,12 @@ spec:
250
261
type: object
251
262
x-kubernetes-preserve-unknown-fields: true
252
263
backend:
253
-
description: 'Backend describes the Terraform backend configuration.
254
-
This field is needed if the users use a git repo to provide the
255
-
hcl files or want to use their custom Terraform backend (instead
256
-
of the default kubernetes backend type). Notice: This field may
257
-
cause two backend blocks in the final Terraform module and make
258
-
the executor job failed. So, please make sure that there are no
259
-
backend configurations in your inline hcl code or the git repo.'
264
+
description: |-
265
+
Backend describes the Terraform backend configuration.
266
+
This field is needed if the users use a git repo to provide the hcl files or
267
+
want to use their custom Terraform backend (instead of the default kubernetes backend type).
268
+
Notice: This field may cause two backend blocks in the final Terraform module and make the executor job failed.
269
+
So, please make sure that there are no backend configurations in your inline hcl code or the git repo.
260
270
properties:
261
271
backendType:
262
272
description: BackendType indicates which backend type to use.
@@ -314,23 +324,24 @@ spec:
314
324
resources will be deleted when CR is deleted
315
325
type: boolean
316
326
forceDelete:
317
-
description: ForceDelete will force delete Configuration no matter
318
-
which state it is or whether it has provisioned some resources It
319
-
will help delete Configuration in unexpected cases.
327
+
description: |-
328
+
ForceDelete will force delete Configuration no matter which state it is or whether it has provisioned some resources
329
+
It will help delete Configuration in unexpected cases.
320
330
type: boolean
321
331
gitCredentialsSecretReference:
322
332
description: GitCredentialsSecretReference specifies the reference
323
333
to the secret containing the git credentials
324
334
properties:
325
335
name:
326
-
description: Name is unique within a namespace to reference a
336
+
description: name is unique within a namespace to reference a
327
337
secret resource.
328
338
type: string
329
339
namespace:
330
-
description: Namespace defines the space within which the secret
340
+
description: namespace defines the space within which the secret
331
341
name must be unique.
332
342
type: string
333
343
type: object
344
+
x-kubernetes-map-type: atomic
334
345
gitRef:
335
346
description: GitRef is the git branch or tag or commit hash to checkout.
336
347
Only used when Remote is specified.
@@ -347,10 +358,10 @@ spec:
347
358
type: string
348
359
inlineCredentials:
349
360
description: "InlineCredentials specifies the credentials in spec.HCl
350
-
field as below.\tprovider \"aws\" {\t\tregion = \"us-west-2\"
0 commit comments