mirror of
https://github.com/fluxcd/flux2.git
synced 2026-02-20 14:41:47 +00:00
Apply SSA fix to flux install and bootstrap
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
This commit is contained in:
parent
03df386f9e
commit
2eb6ba5a48
1 changed files with 4 additions and 0 deletions
|
|
@ -50,6 +50,10 @@ func Apply(ctx context.Context, kubeConfigPath string, kubeContext string, manif
|
||||||
return "", fmt.Errorf("no Kubernetes objects found at: %s", manifestPath)
|
return "", fmt.Errorf("no Kubernetes objects found at: %s", manifestPath)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if err := ssa.SetNativeKindsDefaults(objs); err != nil {
|
||||||
|
return "", err
|
||||||
|
}
|
||||||
|
|
||||||
changeSet, err := resourceManager.ApplyAllStaged(ctx, objs, false, time.Minute)
|
changeSet, err := resourceManager.ApplyAllStaged(ctx, objs, false, time.Minute)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return "", err
|
return "", err
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue