Skip to content

Instantly share code, notes, and snippets.

@adamancini
Created April 11, 2025 14:49
Show Gist options
  • Select an option

  • Save adamancini/b746be80349b3c82b3d11f2aac9b9a20 to your computer and use it in GitHub Desktop.

Select an option

Save adamancini/b746be80349b3c82b3d11f2aac9b9a20 to your computer and use it in GitHub Desktop.
---
apiVersion: source.toolkit.fluxcd.io/v1beta2
kind: HelmRepository
metadata:
name: csi-driver-nfs
namespace: flux-system
spec:
interval: 24h
url: https://raw.githubusercontent.com/kubernetes-csi/csi-driver-nfs/master/charts
---
apiVersion: helm.toolkit.fluxcd.io/v2beta1
kind: HelmRelease
metadata:
name: csi-driver-nfs
namespace: kube-system
spec:
interval: 2m
chart:
spec:
chart: csi-driver-nfs
version: '4.5.x'
sourceRef:
kind: HelmRepository
name: csi-driver-nfs
namespace: flux-system
values:
kubeletDir: /var/lib/k0s/kubelet
externalSnapshotter:
enabled: true
node:
dnsPolicy: ClusterFirstWithHostNet
controller:
dnsPolicy: ClusterFirstWithHostNet
replicas: 1
runOnControlPlane: false
defaultOnDeletePolicy: Retain
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment