kustomize: use FS from `fluxcd/pkg`
This switches to a secure FS implementation in most places, except for
where we can not make changes at this moment because it would break
behavior.
Not handled in this commit:
- Allowing the root for `manifestgen` packages to be configured.
- Allowing the user to define a working root while building locally.
- Defaulting to the secure FS implementation in
`kustomization.MakeDefaultOptions`. Problem here is that constructing
the secure FS could result in an error, which we can not surface
without signature changes to the constructor func.
Signed-off-by:
Hidde Beydals <hello@hidde.co>
Showing
- go.mod 1 addition, 1 deletiongo.mod
- go.sum 2 additions, 2 deletionsgo.sum
- internal/bootstrap/bootstrap_plain_git.go 12 additions, 4 deletionsinternal/bootstrap/bootstrap_plain_git.go
- internal/build/build.go 6 additions, 2 deletionsinternal/build/build.go
- pkg/manifestgen/install/manifests.go 7 additions, 3 deletionspkg/manifestgen/install/manifests.go
- pkg/manifestgen/kustomization/kustomization.go 29 additions, 12 deletionspkg/manifestgen/kustomization/kustomization.go
- pkg/manifestgen/kustomization/options.go 2 additions, 0 deletionspkg/manifestgen/kustomization/options.go
Loading
Please register or sign in to comment