diff --git a/kube/clusters/biohazard/flux/kustomization.yaml b/kube/clusters/biohazard/flux/kustomization.yaml index c8a33cb8..46ee3e39 100644 --- a/kube/clusters/biohazard/flux/kustomization.yaml +++ b/kube/clusters/biohazard/flux/kustomization.yaml @@ -20,6 +20,7 @@ resources: - ../../../deploy/core/storage/rook-ceph/cluster/ - ../../../deploy/core/storage/democratic-csi/_deps/ - ../../../deploy/core/storage/democratic-csi/local-hostpath/ + - ../../../deploy/core/storage/democratic-csi/manual/ - ../../../deploy/core/storage/csi-driver-nfs/ - ../../../deploy/core/storage/volsync/ - ../../../deploy/core/tls/cert-manager/ diff --git a/kube/deploy/core/storage/democratic-csi/manual/app/hr.yaml b/kube/deploy/core/storage/democratic-csi/manual/app/hr.yaml new file mode 100644 index 00000000..dd7f1e0c --- /dev/null +++ b/kube/deploy/core/storage/democratic-csi/manual/app/hr.yaml @@ -0,0 +1,31 @@ +--- +apiVersion: helm.toolkit.fluxcd.io/v2beta1 +kind: HelmRelease +metadata: + name: manual + namespace: democratic-csi +spec: + chart: + spec: + chart: democratic-csi + version: 0.14.2 + sourceRef: + name: democratic-csi + kind: HelmRepository + namespace: flux-system + values: + csiDriver: + name: "manual.democratic-csi.${CLUSTER_NAME}.home.arpa" + controller: + enabled: false + driver: + config: + driver: node-manual + storageClasses: + - name: manual + defaultClass: false + reclaimPolicy: Delete + volumeBindingMode: WaitForFirstConsumer + allowVolumeExpansion: true + parameters: + fsType: ext4 diff --git a/kube/deploy/core/storage/democratic-csi/manual/ks.yaml b/kube/deploy/core/storage/democratic-csi/manual/ks.yaml new file mode 100644 index 00000000..77a1975b --- /dev/null +++ b/kube/deploy/core/storage/democratic-csi/manual/ks.yaml @@ -0,0 +1,9 @@ +--- +apiVersion: kustomize.toolkit.fluxcd.io/v1 +kind: Kustomization +metadata: + name: 1-core-storage-democratic-csi-manual + namespace: flux-system +spec: + path: ./kube/deploy/core/storage/democratic-csi/manual/app + dependsOn: [] \ No newline at end of file diff --git a/kube/deploy/core/storage/democratic-csi/manual/kustomization.yaml b/kube/deploy/core/storage/democratic-csi/manual/kustomization.yaml new file mode 100644 index 00000000..70a77029 --- /dev/null +++ b/kube/deploy/core/storage/democratic-csi/manual/kustomization.yaml @@ -0,0 +1,5 @@ +--- +apiVersion: kustomize.config.k8s.io/v1beta1 +kind: Kustomization +resources: + - ks.yaml