mirror of
https://github.com/cozystack/cozystack.git
synced 2026-11-25 22:24:58 +09:00
Small installs such as arm64 labs had to take the whole isp-full set: KubeVirt, backups, monitoring, etcd, SeaweedFS and every paas/naas operator. The slim variants keep only the engine, tenants, ingress, gateway, LINSTOR storage and networking, and turn everything else into opt-in packages listed in bundles.enabledPackages. Full variants render the same Packages as before. Networking on isp-slim and isp-slim-generic is Cilium alone: without VMs nothing needs KubeOVN, and Cilium L2 announcements take the place of MetalLB, which stays available as an opt-in package. KubeOVN IPsec is what networking.encryption drives, so the slim variants refuse it rather than ignore it. isp-hosted-slim keeps the noop datapath. tenant-application gains a slim variant whose dependsOn drops the monitoring, etcd and seaweedfs applications; the default variant waits on them, which would leave cozystack-basics and tenant-root never Ready. The iaas bundle stays limited to the isp-full variants. objectstorage-controller stays on everywhere: cozystack-controller watches BucketClaim unconditionally, so without that CRD its manager never syncs its caches and crash-loops. Assisted-by: LLM Signed-off-by: Aleksei Sviridkin <f@lex.la>
59 lines
1.8 KiB
YAML
59 lines
1.8 KiB
YAML
---
|
|
apiVersion: cozystack.io/v1alpha1
|
|
kind: PackageSource
|
|
metadata:
|
|
name: cozystack.tenant-application
|
|
spec:
|
|
sourceRef:
|
|
kind: OCIRepository
|
|
name: cozystack-packages
|
|
namespace: cozy-system
|
|
path: /
|
|
variants:
|
|
- name: default
|
|
dependsOn:
|
|
- cozystack.networking
|
|
- cozystack.ingress-application
|
|
- cozystack.gateway-application
|
|
- cozystack.seaweedfs-application
|
|
- cozystack.info-application
|
|
- cozystack.monitoring-application
|
|
- cozystack.etcd-application
|
|
# cozystack-engine ships the ApplicationDefinition CRD rendered by the *-rd component below.
|
|
- cozystack.cozystack-engine
|
|
libraries:
|
|
- name: cozy-lib
|
|
path: library/cozy-lib
|
|
components:
|
|
- name: tenant
|
|
path: apps/tenant
|
|
libraries: [cozy-lib]
|
|
- name: tenant-rd
|
|
path: system/tenant-rd
|
|
install:
|
|
namespace: cozy-system
|
|
releaseName: tenant-rd
|
|
# Selected by the slim platform variants, which emit none of the
|
|
# monitoring, etcd and seaweedfs applications the default variant waits on.
|
|
# The tenant ApplicationDefinition and cozystack-basics reference the default
|
|
# variant's artifacts by name; the PackageSource builds those for every variant.
|
|
- name: slim
|
|
dependsOn:
|
|
- cozystack.networking
|
|
- cozystack.ingress-application
|
|
- cozystack.gateway-application
|
|
- cozystack.info-application
|
|
- cozystack.cozystack-engine
|
|
libraries:
|
|
- name: cozy-lib
|
|
path: library/cozy-lib
|
|
components:
|
|
- name: tenant
|
|
path: apps/tenant
|
|
libraries: [cozy-lib]
|
|
- name: tenant-rd
|
|
path: system/tenant-rd
|
|
install:
|
|
namespace: cozy-system
|
|
releaseName: tenant-rd
|