Sveltos: stage ClusterProfiles for fleet-wide shared infra #1526

Open
ginjiruu wants to merge 1 commit from sveltos-clusterprofiles into main
Owner

Tracks lab/iac#31 (Sveltos research); part of the multi-cluster catalog work (lab/iac#32).

Stage Sveltos ClusterProfiles for fleet-wide shared infrastructure, per the Sveltos×Flux integration (lab/iac#31, lab/iac plans/sveltos-flux-integration.md).

What

  • sveltos/README.md — the pattern, the ordering gate, and what gets removed once live.
  • sveltos/vault-secrets-operator.yaml — ONE ClusterProfile that replaces clusters/{mini,portable,remote}/vault-secrets-operator.yaml: selects clusters by sveltos.io/vault-secrets-operator: enabled and kustomize-builds generic-templates/vault-secrets-operator from the flux-system GitRepository (this repo).

Why

The shared-addon story in this repo is per-cluster pointer duplication:

  • VSO: 3 identical Kustomization pointers
  • ESO: 4 byte-identical HelmRelease/HelmRepository sets
  • standard-cluster: 4 identical Kustomizations

Sveltos collapses each to ONE ClusterProfile. The labels it selects on are declared in the iac cluster registry (lab/iac/apps/clusters.yaml, clusters.<name>.sveltos) — adding a fleet member is a registry label + a Sveltos registration, no new manifests.

Ordering gate (why this is staged, not wired)

The ClusterProfile CRD must exist on mini before any of these are applied — Flux's clusters/mini/ root build fails on unknown CRDs. So sveltos/ is deliberately NOT referenced by any cluster tree. Activate: install Sveltos on mini (lab/iac#31) → register fleet clusters → wire ./sveltos into mini's build → delete the per-cluster pointers.

Note: the generic-templates/vault-secrets-operator path resolves once #1525 (VSO deploy) merges.

Tracks lab/iac#31 (Sveltos research); part of the multi-cluster catalog work (lab/iac#32). Stage Sveltos ClusterProfiles for fleet-wide shared infrastructure, per the Sveltos×Flux integration (lab/iac#31, lab/iac plans/sveltos-flux-integration.md). ## What - `sveltos/README.md` — the pattern, the ordering gate, and what gets removed once live. - `sveltos/vault-secrets-operator.yaml` — ONE ClusterProfile that replaces `clusters/{mini,portable,remote}/vault-secrets-operator.yaml`: selects clusters by `sveltos.io/vault-secrets-operator: enabled` and kustomize-builds `generic-templates/vault-secrets-operator` from the `flux-system` GitRepository (this repo). ## Why The shared-addon story in this repo is per-cluster pointer duplication: - VSO: 3 identical Kustomization pointers - ESO: 4 byte-identical HelmRelease/HelmRepository sets - standard-cluster: 4 identical Kustomizations Sveltos collapses each to ONE ClusterProfile. The labels it selects on are declared in the iac cluster registry (`lab/iac/apps/clusters.yaml`, `clusters.<name>.sveltos`) — adding a fleet member is a registry label + a Sveltos registration, no new manifests. ## Ordering gate (why this is staged, not wired) The `ClusterProfile` CRD must exist on mini before any of these are applied — Flux's `clusters/mini/` root build fails on unknown CRDs. So `sveltos/` is deliberately NOT referenced by any cluster tree. Activate: install Sveltos on mini (lab/iac#31) → register fleet clusters → wire `./sveltos` into mini's build → delete the per-cluster pointers. Note: the `generic-templates/vault-secrets-operator` path resolves once #1525 (VSO deploy) merges.
ginjiruu force-pushed sveltos-clusterprofiles from 888da3efd9 to 353095c13c 2026-08-20 15:15:15 +00:00 Compare
This pull request can be merged automatically.
This branch is out-of-date with the base branch
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin 'sveltos-clusterprofiles:sveltos-clusterprofiles'
git switch 'sveltos-clusterprofiles'

Merge

Merge the changes and update on Forgejo.

Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.

git switch 'main'
git merge --no-ff 'sveltos-clusterprofiles'
git switch 'sveltos-clusterprofiles'
git rebase 'main'
git switch 'main'
git merge --ff-only 'sveltos-clusterprofiles'
git switch 'sveltos-clusterprofiles'
git rebase 'main'
git switch 'main'
git merge --no-ff 'sveltos-clusterprofiles'
git switch 'main'
git merge --squash 'sveltos-clusterprofiles'
git switch 'main'
git merge --ff-only 'sveltos-clusterprofiles'
git switch 'main'
git merge 'sveltos-clusterprofiles'
git push origin 'main'
Sign in to join this conversation.
No description provided.