convert nfs-provisioner to use kustomize instead of helm

This commit is contained in:
Mans Ziesel 2024-10-25 20:03:05 +02:00
parent 13d7f1904d
commit 83adda7ad0
3 changed files with 2 additions and 27 deletions

View File

@ -1,16 +1,6 @@
apiVersion: kustomize.config.k8s.io/v1beta1 apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization kind: Kustomization
namespace: nfs-provisioner
resources: resources:
- ./namespace.yaml - github.com/kubernetes-sigs/nfs-subdir-external-provisioner//deploy?ref=nfs-subdir-external-provisioner-4.0.17
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

View File

@ -1,6 +0,0 @@
apiVersion: v1
kind: Namespace
metadata:
name: nfs-subdir-external-provisioner
labels:
pod-security.kubernetes.io/enforce: privileged

View File

@ -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