feat(platform): enable iaas, paas, naas bundles for isp-full-generic variant

- Allow iaas, paas, naas bundles when using isp-full-generic variant
- Enable all bundles by default in values-isp-full-generic.yaml
- Update bundle templates to accept isp-full-generic alongside isp-full

Co-Authored-By: Claude <noreply@anthropic.com>
Signed-off-by: Aleksei Sviridkin <f@lex.la>
This commit is contained in:
Aleksei SviridkinandClaude committed 2026-01-30 23:12:23 +03:00
1 parent 4f297eb262
commit f32f40f645
4 files changed
+12 -12

No files matched your search

@@ -1,7 +1,7 @@
{{- if and .Values.bundles.iaas.enabled (ne .Values.bundles.system.variant "isp-full") }}
{{- fail "bundles.iaas.enabled can only be true when bundles.system.variant is 'isp-full'" }}
{{- if and .Values.bundles.iaas.enabled (not (or (eq .Values.bundles.system.variant "isp-full") (eq .Values.bundles.system.variant "isp-full-generic"))) }}
{{- fail "bundles.iaas.enabled can only be true when bundles.system.variant is 'isp-full' or 'isp-full-generic'" }}
{{- end }}
{{- if and .Values.bundles.iaas.enabled (eq .Values.bundles.system.variant "isp-full") }}
{{- if and .Values.bundles.iaas.enabled (or (eq .Values.bundles.system.variant "isp-full") (eq .Values.bundles.system.variant "isp-full-generic")) }}
{{include "cozystack.platform.package.default" (list "cozystack.kubevirt" $) }}
{{include "cozystack.platform.package.default" (list "cozystack.kubevirt-cdi" $) }}
{{include "cozystack.platform.package.optional.default" (list "cozystack.gpu-operator" $) }}
@@ -1,7 +1,7 @@
{{- if and .Values.bundles.naas.enabled (not (or (eq .Values.bundles.system.variant "isp-full") (eq .Values.bundles.system.variant "isp-hosted"))) }}
{{- fail "bundles.naas.enabled can only be true when bundles.system.variant is 'isp-full' or 'isp-hosted'" }}
{{- if and .Values.bundles.naas.enabled (not (or (eq .Values.bundles.system.variant "isp-full") (eq .Values.bundles.system.variant "isp-full-generic") (eq .Values.bundles.system.variant "isp-hosted"))) }}
{{- fail "bundles.naas.enabled can only be true when bundles.system.variant is 'isp-full', 'isp-full-generic', or 'isp-hosted'" }}
{{- end }}
{{- if and .Values.bundles.naas.enabled (or (eq .Values.bundles.system.variant "isp-full") (eq .Values.bundles.system.variant "isp-hosted")) }}
{{- if and .Values.bundles.naas.enabled (or (eq .Values.bundles.system.variant "isp-full") (eq .Values.bundles.system.variant "isp-full-generic") (eq .Values.bundles.system.variant "isp-hosted")) }}
{{include "cozystack.platform.package.default" (list "cozystack.http-cache-application" $) }}
{{include "cozystack.platform.package.default" (list "cozystack.tcp-balancer-application" $) }}
{{include "cozystack.platform.package.default" (list "cozystack.vpn-application" $) }}
@@ -1,7 +1,7 @@
{{- if and .Values.bundles.paas.enabled (not (or (eq .Values.bundles.system.variant "isp-full") (eq .Values.bundles.system.variant "isp-hosted"))) }}
{{- fail "bundles.paas.enabled can only be true when bundles.system.variant is 'isp-full' or 'isp-hosted'" }}
{{- if and .Values.bundles.paas.enabled (not (or (eq .Values.bundles.system.variant "isp-full") (eq .Values.bundles.system.variant "isp-full-generic") (eq .Values.bundles.system.variant "isp-hosted"))) }}
{{- fail "bundles.paas.enabled can only be true when bundles.system.variant is 'isp-full', 'isp-full-generic', or 'isp-hosted'" }}
{{- end }}
{{- if and .Values.bundles.paas.enabled (or (eq .Values.bundles.system.variant "isp-full") (eq .Values.bundles.system.variant "isp-hosted")) }}
{{- if and .Values.bundles.paas.enabled (or (eq .Values.bundles.system.variant "isp-full") (eq .Values.bundles.system.variant "isp-full-generic") (eq .Values.bundles.system.variant "isp-hosted")) }}
{{include "cozystack.platform.package.default" (list "cozystack.mariadb-operator" $) }}
{{include "cozystack.platform.package.default" (list "cozystack.kafka-operator" $) }}
{{include "cozystack.platform.package.default" (list "cozystack.clickhouse-operator" $) }}
@@ -5,8 +5,8 @@ bundles:
enabled: true
variant: "isp-full-generic"
iaas:
enabled: false
enabled: true
paas:
enabled: false
enabled: true
naas:
enabled: false
enabled: true