mirror of
https://github.com/fluxcd/flux2.git
synced 2026-02-22 07:31:47 +00:00
Disable load restrictions on install
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
This commit is contained in:
parent
624a9ba8eb
commit
81e7a7c2cc
1 changed files with 2 additions and 0 deletions
|
|
@ -27,6 +27,7 @@ import (
|
|||
|
||||
"sigs.k8s.io/kustomize/api/filesys"
|
||||
"sigs.k8s.io/kustomize/api/krusty"
|
||||
"sigs.k8s.io/kustomize/api/types"
|
||||
|
||||
"github.com/fluxcd/pkg/untar"
|
||||
)
|
||||
|
|
@ -106,6 +107,7 @@ func build(base, output string) error {
|
|||
}
|
||||
|
||||
opt := krusty.MakeDefaultOptions()
|
||||
opt.LoadRestrictions = types.LoadRestrictionsNone
|
||||
k := krusty.MakeKustomizer(fs, opt)
|
||||
m, err := k.Run(base)
|
||||
if err != nil {
|
||||
|
|
|
|||
Loading…
Reference in a new issue