diff --git a/infrastructure/nfs/kustomization.yaml b/infrastructure/nfs/kustomization.yaml index ab3b0ee..2cdc185 100644 --- a/infrastructure/nfs/kustomization.yaml +++ b/infrastructure/nfs/kustomization.yaml @@ -3,4 +3,5 @@ apiVersion: kustomize.config.k8s.io/v1beta1 kind: Kustomization namespace: nfs-csi resources: + - nfs-driver.yaml - nfs-csi.yaml diff --git a/infrastructure/nfs/nfs-driver.yaml b/infrastructure/nfs/nfs-driver.yaml new file mode 100644 index 0000000..497ae89 --- /dev/null +++ b/infrastructure/nfs/nfs-driver.yaml @@ -0,0 +1,25 @@ +--- +apiVersion: source.toolkit.fluxcd.io/v1 +kind: HelmRepository +metadata: + name: csi-driver-nfs + namespace: kube-system +spec: + interval: 12h + url: https://raw.githubusercontent.com/kubernetes-csi/csi-driver-nfs/master/charts +--- +apiVersion: helm.toolkit.fluxcd.io/v2 +kind: HelmRelease +metadata: + name: csi-driver-nfs + namespace: kube-system +spec: + interval: 30m + chart: + spec: + chart: csi-driver-nfs + version: "v4.9.0" + sourceRef: + kind: HelmRepository + name: csi-driver-nfs + namespace: kube-system