Files
rke2-single-node/08_cluster_infrastructure/local-path-provisioner/application.yaml
T
2026-05-10 13:46:36 +02:00

31 lines
925 B
YAML

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