From 4d2fe610e218af25fbbb58e766c69790b738e985 Mon Sep 17 00:00:00 2001 From: Vegard Hagen Date: Sun, 21 Jul 2024 18:46:09 +0200 Subject: [PATCH] fix(proxmox-csi-plugin): fetch from Helm chart --- .../storage/proxmox-csi/kustomization.yaml | 36 +++++-------------- .../storage/proxmox-csi/storage-class.yaml | 15 -------- 2 files changed, 8 insertions(+), 43 deletions(-) delete mode 100644 remodel/k8s/infra/storage/proxmox-csi/storage-class.yaml diff --git a/remodel/k8s/infra/storage/proxmox-csi/kustomization.yaml b/remodel/k8s/infra/storage/proxmox-csi/kustomization.yaml index 9c765f7..8ccc77f 100644 --- a/remodel/k8s/infra/storage/proxmox-csi/kustomization.yaml +++ b/remodel/k8s/infra/storage/proxmox-csi/kustomization.yaml @@ -1,31 +1,11 @@ apiVersion: kustomize.config.k8s.io/v1beta1 kind: Kustomization -resources: -# - ns.yaml - - https://raw.githubusercontent.com/sergelogvinov/proxmox-csi-plugin/v0.7.0/docs/deploy/proxmox-csi-plugin-release.yml - - storage-class.yaml - -#images: -# - name: ghcr.io/sergelogvinov/proxmox-csi-node -# newTag: edge -# - name: ghcr.io/sergelogvinov/proxmox-csi-controller -# newTag: edge - -#helmCharts: -# - name: proxmox-csi-plugin -# repo: oci://ghcr.io/sergelogvinov/charts -# version: 0.2.5 -# releaseName: proxmox-csi-plugin -# includeCRDs: true -# namespace: csi-proxmox -# valuesFile: values.yaml - -#helmCharts: -# - name: proxmox-csi-plugin -# releaseName: proxmox-csi-plugin -# namespace: csi-proxmox -# repo: oci://ghcr.io/sergelogvinov/charts -# version: 0.2.5 -# includeCRDs: true -# valuesFile: values.yaml \ No newline at end of file +helmCharts: + - name: proxmox-csi-plugin + repo: oci://ghcr.io/sergelogvinov/charts + version: 0.2.5 + releaseName: proxmox-csi-plugin + includeCRDs: true + namespace: csi-proxmox + valuesFile: values.yaml diff --git a/remodel/k8s/infra/storage/proxmox-csi/storage-class.yaml b/remodel/k8s/infra/storage/proxmox-csi/storage-class.yaml deleted file mode 100644 index 9bfd12d..0000000 --- a/remodel/k8s/infra/storage/proxmox-csi/storage-class.yaml +++ /dev/null @@ -1,15 +0,0 @@ -apiVersion: storage.k8s.io/v1 -kind: StorageClass -metadata: - name: proxmox-csi -allowVolumeExpansion: true -parameters: - csi.storage.k8s.io/fstype: ext4 - storage: local-zfs - cache: writethrough - ssd: "true" -mountOptions: - - noatime -provisioner: csi.proxmox.sinextra.dev -reclaimPolicy: Retain -volumeBindingMode: WaitForFirstConsumer \ No newline at end of file