From 2eb6ba5a48c8ca4492f332e59ca087427669f80e Mon Sep 17 00:00:00 2001 From: Stefan Prodan Date: Sun, 10 Oct 2021 16:08:16 +0300 Subject: [PATCH] Apply SSA fix to flux install and bootstrap Signed-off-by: Stefan Prodan --- internal/utils/apply.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/internal/utils/apply.go b/internal/utils/apply.go index bc1f6de2..bc458863 100644 --- a/internal/utils/apply.go +++ b/internal/utils/apply.go @@ -50,6 +50,10 @@ func Apply(ctx context.Context, kubeConfigPath string, kubeContext string, manif 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) if err != nil { return "", err