feat: migrate CSI drivers to dedicated storage project (#45)

- Migrate csi-cephfs from Terraform to ArgoCD
- Migrate csi-cephrbd from Terraform to ArgoCD
- Create dedicated storage project and ApplicationSet for CSI drivers
- Add csi-* pattern matching in storage ApplicationSet
- Remove CSI apps from platform project to separate concerns

Reviewed-on: #45
This commit was merged in pull request #45.
This commit is contained in:
2026-03-19 01:29:31 +11:00
parent 06a8f98b5c
commit 90f793464b
16 changed files with 394 additions and 0 deletions
@@ -0,0 +1,14 @@
---
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- ../../../base/csi-cephfs
helmCharts:
- name: ceph-csi-cephfs
repo: https://ceph.github.io/csi-charts
version: "3.15.0"
releaseName: ceph-csi-cephfs
namespace: csi-cephfs
valuesFile: values.yaml
@@ -0,0 +1,41 @@
csiConfig:
# raid6, 75% space efficiency
- clusterID: "cephfs_csi_ssd_ec_6_2"
monitors:
- "198.18.23.9:6789"
- "198.18.23.10:6789"
- "198.18.23.11:6789"
- "198.18.23.12:6789"
- "198.18.23.13:6789"
cephFS:
subvolumeGroup: csi_ssd_ec_6_2
# raid5, 80% space efficiency
- clusterID: "cephfs_csi_ssd_ec_4_1"
monitors:
- "198.18.23.9:6789"
- "198.18.23.10:6789"
- "198.18.23.11:6789"
- "198.18.23.12:6789"
- "198.18.23.13:6789"
cephFS:
subvolumeGroup: csi_ssd_ec_4_1
# Secret containing Ceph credentials
secret:
create: false
name: "csi-cephfs-secret"
# Storage class configuration (disabled - managed separately when needed)
storageClass:
create: false
# Provisioner configuration
provisioner:
name: csi-cephfs-provisioner
replicaCount: 3
# Image versions
image:
repository: quay.io/cephcsi/cephcsi
tag: v3.15.0
@@ -0,0 +1,14 @@
---
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- ../../../base/csi-cephrbd
helmCharts:
- name: ceph-csi-rbd
repo: https://ceph.github.io/csi-charts
version: "3.15.1"
releaseName: ceph-csi-rbd
namespace: csi-cephrbd
valuesFile: values.yaml
@@ -0,0 +1,48 @@
csiConfig:
- clusterID: "de96a98f-3d23-465a-a899-86d3d67edab8"
monitors:
- "198.18.23.9:6789"
- "198.18.23.10:6789"
- "198.18.23.11:6789"
- "198.18.23.12:6789"
- "198.18.23.13:6789"
# Secret containing Ceph credentials
secret:
create: false
name: "csi-rbd-secret"
# Storage class configuration (disabled - managed separately)
storageClass:
create: false
# CSI driver configuration
csiDriver:
name: "rbd.csi.ceph.com"
# Node plugin configuration
nodeplugin:
name: csi-rbdplugin
updateStrategy: RollingUpdate
# Provisioner configuration
provisioner:
name: csi-rbd-provisioner
replicaCount: 3
# Image versions
image:
repository: quay.io/cephcsi/cephcsi
tag: v3.15.0
# Enable snapshots
snapshotter:
image:
repository: registry.k8s.io/sig-storage/csi-snapshotter
tag: v8.0.1
# Enable volume expansion
resizer:
image:
repository: registry.k8s.io/sig-storage/csi-resizer
tag: v1.12.0