add local-path-provisioner

This commit is contained in:
2025-07-08 13:30:59 -05:00
parent ba40554d1e
commit f044cb2069
2 changed files with 36 additions and 0 deletions

View File

@@ -0,0 +1,33 @@
apiVersion: argoproj.io/v1alpha1
kind: ApplicationSet
metadata:
name: local-path-provisioner
spec:
goTemplate: true
goTemplateOptions: ["missingkey=error"]
generators:
- list:
elements:
- cluster: production
url: https://kubernetes.default.svc
- cluster: staging
url: https://k3s-ctrl-lb.lab.kill0.net:6443
- cluster: development
url: https://k0s-ctrl-vip.lab.kill0.net:6443
template:
metadata:
name: 'local-path-provisioner-{{.cluster}}'
spec:
project: default
source:
repoURL: https://git.kill0.net/ryanc/argocd.git
targetRevision: HEAD
path: local-path-provisioner
destination:
server: '{{.url}}'
syncPolicy:
automated:
prune: true
selfHeal: true
syncOptions:
- CreateNamespace=true

View File

@@ -0,0 +1,3 @@
---
resources:
- github.com/rancher/local-path-provisioner//deploy?ref=v0.0.31