1
0
mirror of synced 2026-02-06 19:05:55 +00:00

Fix stringData Secret issue

This commit migrate to the last version of pkg/ssa v0.14.1 that contains a fix
for stringData secrets. The test case was changed accordingly to
    validate a stringData drift.

A progress-bar flag option has also been added in order to be able to
disable it.

Signed-off-by: Soule BA <soule@weave.works>
This commit is contained in:
Soule BA
2022-02-18 16:41:16 +01:00
parent 1ff8c2806c
commit 32ad462ebe
11 changed files with 302 additions and 135 deletions

View File

@@ -125,7 +125,7 @@ func newManager(rcg genericclioptions.RESTClientGetter) (*ssa.ResourceManager, e
if err != nil {
return nil, err
}
kubePoller := polling.NewStatusPoller(kubeClient, restMapper, nil)
kubePoller := polling.NewStatusPoller(kubeClient, restMapper, polling.Options{})
return ssa.NewResourceManager(kubeClient, kubePoller, ssa.Owner{
Field: "flux",