From 83adda7ad066612971a18e2ae59cccf88656c67d Mon Sep 17 00:00:00 2001 From: Mans Ziesel Date: Fri, 25 Oct 2024 20:03:05 +0200 Subject: [PATCH] convert nfs-provisioner to use kustomize instead of helm --- nfs-subdir-external-provisioner/kustomization.yaml | 14 ++------------ nfs-subdir-external-provisioner/namespace.yaml | 6 ------ nfs-subdir-external-provisioner/values.yaml | 9 --------- 3 files changed, 2 insertions(+), 27 deletions(-) delete mode 100644 nfs-subdir-external-provisioner/namespace.yaml delete mode 100644 nfs-subdir-external-provisioner/values.yaml diff --git a/nfs-subdir-external-provisioner/kustomization.yaml b/nfs-subdir-external-provisioner/kustomization.yaml index de3d65d..64671ec 100644 --- a/nfs-subdir-external-provisioner/kustomization.yaml +++ b/nfs-subdir-external-provisioner/kustomization.yaml @@ -1,16 +1,6 @@ apiVersion: kustomize.config.k8s.io/v1beta1 kind: Kustomization +namespace: nfs-provisioner resources: - - ./namespace.yaml - -namespace: nfs-subdir-external-provisioner - -helmCharts: -- name: nfs-subdir-external-provisioner - repo: https://kubernetes-sigs.github.io/nfs-subdir-external-provisioner/ - releaseName: nfs-subdir-external-provisioner - version: 4.0.18 - valuesFile: values.yaml - includeCRDs: true - namespace: nfs-subdir-external-provisioner +- github.com/kubernetes-sigs/nfs-subdir-external-provisioner//deploy?ref=nfs-subdir-external-provisioner-4.0.17 diff --git a/nfs-subdir-external-provisioner/namespace.yaml b/nfs-subdir-external-provisioner/namespace.yaml deleted file mode 100644 index 01469f9..0000000 --- a/nfs-subdir-external-provisioner/namespace.yaml +++ /dev/null @@ -1,6 +0,0 @@ -apiVersion: v1 -kind: Namespace -metadata: - name: nfs-subdir-external-provisioner - labels: - pod-security.kubernetes.io/enforce: privileged diff --git a/nfs-subdir-external-provisioner/values.yaml b/nfs-subdir-external-provisioner/values.yaml deleted file mode 100644 index 73a576e..0000000 --- a/nfs-subdir-external-provisioner/values.yaml +++ /dev/null @@ -1,9 +0,0 @@ -nfs: - server: 192.168.10.30 - path: /srv/nfs4 - mountOptions: - - noatime - - nfsvers=4.2 # https://cloud.google.com/knowledge/kb/nfs-volume-timeouts-on-google-kubernetes-engine-000004912 - - nolock # talos lacks a running statd daemon, required for network locks - volumeName: nfs-subdir-external-provisioner-root - reclaimPolicy: Retain