File tree 2 files changed +28
-0
lines changed
2 files changed +28
-0
lines changed Original file line number Diff line number Diff line change @@ -9,6 +9,9 @@ Data source to `kustomize build` a Kustomization and return a set of `ids` and h
9
9
``` hcl
10
10
data "kustomization_build" "test" {
11
11
path = "test_kustomizations/basic/initial"
12
+ kustomize_options = {
13
+ load_restrictor = "none"
14
+ }
12
15
}
13
16
14
17
```
@@ -17,6 +20,12 @@ data "kustomization_build" "test" {
17
20
18
21
- ` path ` - (Required) Path to a kustomization directory.
19
22
23
+ ### ` kustomize_options ` - (optional)
24
+
25
+ #### Child attributes
26
+
27
+ - ` load_restrictor ` - setting this to ` "none" ` disables load restrictions
28
+
20
29
## Attribute Reference
21
30
22
31
- ` ids ` - Set of Kustomize resource IDs.
Original file line number Diff line number Diff line change @@ -51,6 +51,9 @@ data "kustomization_overlay" "example" {
51
51
"path/to/kustomization/to/inherit/from",
52
52
"path/to/kubernetes/resource.yaml",
53
53
]
54
+ kustomize_options = {
55
+ load_restrictor = "none"
56
+ }
54
57
}
55
58
56
59
```
@@ -261,6 +264,22 @@ data "kustomization_overlay" "example" {
261
264
}
262
265
```
263
266
267
+ ### ` kustomize_options ` - (optional)
268
+
269
+ #### Child attributes
270
+
271
+ - ` load_restrictor ` - setting this to ` "none" ` disables load restrictions
272
+
273
+ #### Example
274
+
275
+ ``` hcl
276
+ data "kustomization_overlay" "example" {
277
+ kustomize_options = {
278
+ load_restrictor = "none"
279
+ }
280
+ }
281
+ ```
282
+
264
283
### ` name_prefix ` - (optional)
265
284
266
285
Set a prefix to add to all resource names.
You can’t perform that action at this time.
0 commit comments