convert nfs-provisioner to use kustomize instead of helm
This commit is contained in:
parent
13d7f1904d
commit
83adda7ad0
@ -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
|
||||
|
@ -1,6 +0,0 @@
|
||||
apiVersion: v1
|
||||
kind: Namespace
|
||||
metadata:
|
||||
name: nfs-subdir-external-provisioner
|
||||
labels:
|
||||
pod-security.kubernetes.io/enforce: privileged
|
@ -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
|
Loading…
Reference in New Issue
Block a user