Skip to content

Commit e6ba981

Browse files
[platform] Make vm-default-images opt-in, not default in iaas bundle
The package imports ~320Gi of golden-image PVCs (ubuntu-noble, fedora, debian, centos, etc.) as soon as it's installed. On small test and dev clusters that's enough to consume the entire replicated storage pool, after which no tenant PVCs — including the ones E2E itself provisions — can be bound. It's also unreasonable to force that cost on every iaas user: many deployments don't need prebuilt images at all, and the ones that do often want to curate their own subset. Switch the bundle entry from 'package.default' to 'package.optional.default', matching the treatment already applied to gpu-operator directly below it. Users who want the golden images can opt in via: bundles: enabledPackages: - cozystack.vm-default-images The package, its Source, and migration 38 all stay in place — nothing else changes for users who explicitly enable it. Users who previously relied on the bundle auto-installing it will need to add the package to enabledPackages on upgrade; this is called out in the release note. Co-Authored-By: Claude Opus 4.6 <[email protected]> Signed-off-by: Myasnikov Daniil <[email protected]>
1 parent 0b5a1df commit e6ba981

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • packages/core/platform/templates/bundles

‎packages/core/platform/templates/bundles/iaas.yaml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
{{- end -}}
99
{{include "cozystack.platform.package" (list "cozystack.kubevirt" "default" $ $kubevirtComponents) }}
1010
{{include "cozystack.platform.package.default" (list "cozystack.kubevirt-cdi" $) }}
11-
{{include "cozystack.platform.package.default" (list "cozystack.vm-default-images" $) }}
11+
{{include "cozystack.platform.package.optional.default" (list "cozystack.vm-default-images" $) }}
1212
{{include "cozystack.platform.package.optional.default" (list "cozystack.gpu-operator" $) }}
1313
{{include "cozystack.platform.package.default" (list "cozystack.kamaji" $) }}
1414
{{include "cozystack.platform.package.default" (list "cozystack.capi-operator" $) }}

0 commit comments

Comments
 (0)