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

32 lines
948 B
YAML

apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: local-path-provisioner
namespace: argocd
spec:
project: cluster-infra
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
syncPolicy:
automated:
prune: true
selfHeal: true
syncOptions:
- CreateNamespace=true