Files
cozystack/packages/core/platform/sources/kuberture.yaml
T
Aleksei Sviridkin 68a7624079 feat(platform): expose kuberture as optional system package
Register cozystack.kuberture PackageSource and include it in the system
bundle's optional set. The variant declares install-order dependencies
on cozystack.networking and cozystack.prometheus-operator-crds (CNI
must be ready before the controller pod schedules; the CRD must exist
before the chart's enabled-by-default ServiceMonitor is applied). It
deliberately does NOT depend on external-dns: kuberture creates
annotated headless Services regardless of whether external-dns is
installed, since external-dns is a downstream consumer of those
annotations rather than a runtime prerequisite. Operators who want DNS
records published enable an external-dns instance separately, matching
annotationPrefix per output to target a specific instance.

Assisted-By: Claude <noreply@anthropic.com>
Signed-off-by: Aleksei Sviridkin <f@lex.la>
2026-05-14 16:49:00 +03:00

36 lines
1.3 KiB
YAML

---
apiVersion: cozystack.io/v1alpha1
kind: PackageSource
metadata:
name: cozystack.kuberture
spec:
sourceRef:
kind: OCIRepository
name: cozystack-packages
namespace: cozy-system
path: /
variants:
- name: default
# Install-order dependencies only:
# - cozystack.networking: CNI must be reconciled before the controller pod schedules.
# - cozystack.prometheus-operator-crds: the chart enables ServiceMonitor by
# default; the CRD must exist before the manifest is applied.
#
# external-dns is intentionally NOT listed here. Kuberture creates
# annotated headless Services regardless of whether external-dns is
# installed — external-dns is a downstream consumer of those annotations,
# not a runtime prerequisite. Operators who want DNS records actually
# published enable an external-dns instance separately
# (cozystack.external-dns for the cluster-wide platform instance, which
# is the one that watches cozy-kuberture; cozystack.external-dns-application
# is tenant-namespaced and will not see Services outside its tenant).
dependsOn:
- cozystack.networking
- cozystack.prometheus-operator-crds
components:
- name: kuberture
path: system/kuberture
install:
namespace: cozy-kuberture
releaseName: kuberture