cozystack/cmd/cozystack-operator
Aleksei Sviridkin 8b9a11360e
fix(operator): skip PackageSource creation when platform source URL is empty
When platformSourceURL is empty no Flux source resource is created, so
creating a PackageSource that references it would leave a dangling
SourceRef in a permanent error state. Guard the creation block on
platformSourceURL != "".

Co-Authored-By: Claude <noreply@anthropic.com>
Signed-off-by: Aleksei Sviridkin <f@lex.la>
2026-02-19 18:29:55 +03:00
..
main.go fix(operator): skip PackageSource creation when platform source URL is empty 2026-02-19 18:29:55 +03:00
main_test.go fix(operator): use SSA for PackageSource, separate context, unconditional creation 2026-02-19 17:54:33 +03:00