diff --git a/08_cluster_infrastructure/local-path-provisioner/application.yaml b/08_cluster_infrastructure/local-path-provisioner/application.yaml new file mode 100644 index 0000000..13fbe3d --- /dev/null +++ b/08_cluster_infrastructure/local-path-provisioner/application.yaml @@ -0,0 +1,31 @@ +apiVersion: argoproj.io/v1alpha1 +kind: Application +metadata: + name: local-path-provisioner + namespace: argocd +spec: + project: default + source: + # Direktes Linken zum offiziellen GitHub Repo + repoURL: 'https://github.com/rancher/local-path-provisioner.git' + targetRevision: v0.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 + destination: + server: 'https://kubernetes.default.svc' + namespace: local-path-storage + syncPolicy: + automated: + prune: true + selfHeal: true + createNamespace: true \ No newline at end of file