Skip to content

feat: add storage charts for local-path and piraeus#4

Merged
robinbraemer merged 5 commits intomainfrom
feat/cnap-319-storage-charts
Feb 24, 2026
Merged

feat: add storage charts for local-path and piraeus#4
robinbraemer merged 5 commits intomainfrom
feat/cnap-319-storage-charts

Conversation

@robinbraemer
Copy link
Member

Summary

  • Add storage/local-path chart — Local Path Provisioner for single-node storage (dev/simple setups)
  • Add storage/piraeus chart — Piraeus Operator (LINSTOR) wrapper for replicated block storage with automatic failover (production)
  • Piraeus chart wraps piraeus-operator v2.10.4 and linstor-cluster v1.1.1 OCI subcharts

Local Path Provisioner (storage/local-path)

Inlines upstream manifests (no official Helm repo available). Creates:

  • Deployment with rancher/local-path-provisioner:v0.0.30
  • ServiceAccount + ClusterRole/ClusterRoleBinding
  • ConfigMap with node path mapping and setup/teardown scripts
  • Default StorageClass (local-path) with rancher.io/local-path provisioner

Piraeus / LINSTOR (storage/piraeus)

Pure wrapper chart with two OCI subchart dependencies:

  • piraeus (operator) from oci://ghcr.io/piraeusdatastore/piraeus-operator
  • linstor-cluster from oci://ghcr.io/piraeusdatastore/helm-charts

Configures via subchart values passthrough:

  • LinstorCluster CR (operator deploys controller + satellite DaemonSet)
  • LinstorSatelliteConfiguration with file-backed thin pool (no dedicated disks)
  • Default StorageClass (piraeus-storage) with linstor.csi.linbit.com CSI driver

Part of CNAP-319. Companion to cnap-tech/cnap#66.

Test plan

  • helm lint storage/local-path/ — passes
  • helm lint storage/piraeus/ — passes
  • helm template test storage/local-path/ — renders all resources correctly
  • helm template test storage/piraeus/ — renders operator + LinstorCluster + SatelliteConfig + StorageClass
  • Deploy local-path to test cluster via CNAP
  • Deploy piraeus to test cluster via CNAP

Add two storage provider helm charts for CNAP's persistent storage capability:

- storage/local-path: Local Path Provisioner for single-node storage
  (development and simple setups)
- storage/piraeus: Piraeus Operator (LINSTOR) wrapper for replicated
  block storage with automatic failover (production)

The piraeus chart wraps two subcharts (piraeus-operator v2.10.4 and
linstor-cluster v1.1.1) and configures a file-backed thin pool with
a default StorageClass.

Part of CNAP-319.
- Update local-path-provisioner from v0.0.30 to v0.0.34 (latest)
- Pin busybox helperPod image to 1.37.0 instead of 'latest'
- Remove unused _helpers.tpl from piraeus chart (pure subchart wrapper
  has no custom templates)
- Add dependency build step in CI for charts with Chart.lock (needed
  for OCI subchart dependencies that are gitignored as .tgz)
- Add NOTES.txt to piraeus templates/ dir (helm --strict requires
  a non-empty templates directory)
installCRDs defaults to false in the piraeus subchart, which means
ArgoCD would deploy the operator without its CRDs. The linstor-cluster
subchart would then fail to create LinstorCluster and
LinstorSatelliteConfiguration custom resources.
Configures Renovate to auto-update:
- OCI subchart dependencies in piraeus Chart.yaml (helmv3 manager)
- Docker image tags in values.yaml files (helm-values manager)
- appVersion in local-path Chart.yaml (custom regex manager)

Groups related updates (piraeus deps, local-path image + appVersion)
and disables tracking for empty/latest tags.
@robinbraemer robinbraemer merged commit 1c67227 into main Feb 24, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant