diff --git a/08_cluster_infrastructure/local-path-provisioner/application.yaml b/08_cluster_infrastructure/local-path-provisioner/application.yaml index 4217478..89e101b 100644 --- a/08_cluster_infrastructure/local-path-provisioner/application.yaml +++ b/08_cluster_infrastructure/local-path-provisioner/application.yaml @@ -8,22 +8,23 @@ spec: destination: server: https://kubernetes.default.svc namespace: local-path-storage - source: - # Direktes Linken zum offiziellen GitHub Repo - repoURL: 'https://github.com/rancher/local-path-provisioner.git' - targetRevision: 0.0.36 - path: deploy/chart/local-path-provisioner - helm: - values: | - storageClass: - name: local-path - reclaimPolicy: Retain # Sicherer: Verhindert Löschen der DB-Daten bei PVC-Löschung - defaultClass: false - # Hier definierst du, wo auf deinem Ryzen-Node die SSD liegt - nodePathMap: - - node: DEFAULT_PATH_FOR_ALL_NODES - paths: - - /opt/local-path-provisioner + sources: + - chart: local-path-provisioner + repoURL: 'https://github.com/rancher/local-path-provisioner.git' + targetRevision: 0.0.36 + path: deploy/chart/local-path-provisioner + helm: + releaseName: local-path-provisioner + values: | + storageClass: + name: local-path + reclaimPolicy: Retain # Sicherer: Verhindert Löschen der DB-Daten bei PVC-Löschung + defaultClass: false + # Hier definierst du, wo auf deinem Ryzen-Node die SSD liegt + nodePathMap: + - node: DEFAULT_PATH_FOR_ALL_NODES + paths: + - /opt/local-path-provisioner syncPolicy: automated: prune: true