cozystack/internal/fluxinstall
Aleksei Sviridkin 3fbce0dba5
refactor(operator): extract shared manifest utils from crdinstall and fluxinstall
Move duplicated YAML parsing (ReadYAMLObjects, ParseManifestFile) and
CRD readiness check (WaitForCRDsEstablished, CollectCRDNames) into a
shared internal/manifestutil package. Both crdinstall and fluxinstall
now import from manifestutil instead of maintaining identical copies.

Replace fluxinstall's time.Sleep(2s) after CRD apply with proper
WaitForCRDsEstablished polling, matching the crdinstall behavior.

Co-Authored-By: Claude <noreply@anthropic.com>
Signed-off-by: Aleksei Sviridkin <f@lex.la>
2026-02-18 00:49:56 +03:00
..
manifests Fix tolerations for uninitialized nodes 2026-01-19 14:20:02 +01:00
install.go refactor(operator): extract shared manifest utils from crdinstall and fluxinstall 2026-02-18 00:49:56 +03:00
manifests.embed.go fix(crdinstall): add CRD readiness check, Install tests, fix fluxinstall 2026-02-18 00:49:56 +03:00