Files
homelab/cluster/platform/nfs-csi/application.yaml
2026-05-18 17:19:39 -05:00

40 lines
1.2 KiB
YAML

# ------------------------------------------------------------------------------
# Platform: nfs-csi
# Wave 2 — no secret dependencies; must be ready before stateful workloads
# Multi-source: Helm chart from upstream + StorageClass manifest
# ------------------------------------------------------------------------------
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: nfs-csi
namespace: argocd
annotations:
argocd.argoproj.io/sync-wave: "2"
spec:
project: default
sources:
# Source 1: Helm chart from upstream
- repoURL: https://raw.githubusercontent.com/kubernetes-csi/csi-driver-nfs/master/charts
chart: csi-driver-nfs
targetRevision: v4.9.0
helm:
valueFiles:
- $values/cluster/platform/nfs-csi/values.yaml
# Source 2: Repo — values ref + StorageClass
- repoURL: https://gitea.mk-labs.cloud/rblundon/homelab.git
targetRevision: main
path: cluster/platform/nfs-csi
ref: values
directory:
exclude: "application.yaml"
destination:
server: https://kubernetes.default.svc
namespace: kube-system
syncPolicy:
automated:
prune: true
selfHeal: true
syncOptions:
- CreateNamespace=true
- ServerSideApply=true