Skip to content

Commit

Permalink
update kustomize faqs
Browse files Browse the repository at this point in the history
Mention how to bypass the security check about reading files outside
the directory root in v4.

Signed-off-by: leonnicolas <[email protected]>
  • Loading branch information
leonnicolas committed Jun 22, 2021
1 parent 95f4af2 commit 8c24b18
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion site/content/en/faq/kustomize/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,10 +47,16 @@ relocatability.

To disable this, use v3, and the `load_restrictor` flag:

```
```bash
kustomize build --load_restrictor none $target
```

To disable this in v4, use the `load-restrictor` flag:

```bash
kustomize build --load-restrictor LoadRestrictionsNone $target
```

## Some field is not transformed by kustomize

Example: [#1319](https://github.com/kubernetes-sigs/kustomize/issues/1319), [#1322](https://github.com/kubernetes-sigs/kustomize/issues/1322), [#1347](https://github.com/kubernetes-sigs/kustomize/issues/1347) and etc.
Expand Down

0 comments on commit 8c24b18

Please sign in to comment.