From c6a62eeec01ea323e5680502d00f044a74708729 Mon Sep 17 00:00:00 2001 From: Liam Date: Sun, 22 Sep 2024 05:30:29 +0100 Subject: [PATCH] oops --- infrastructure/nfs/kustomization.yaml | 1 + infrastructure/nfs/nfs-driver.yaml | 25 +++++++++++++++++++++++++ 2 files changed, 26 insertions(+) create mode 100644 infrastructure/nfs/nfs-driver.yaml 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