add local-path-provisioner
This commit is contained in:
33
apps/local-path-provisioner.yaml
Normal file
33
apps/local-path-provisioner.yaml
Normal 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
|
3
local-path-provisioner/kustomization.yaml
Normal file
3
local-path-provisioner/kustomization.yaml
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
---
|
||||||
|
resources:
|
||||||
|
- github.com/rancher/local-path-provisioner//deploy?ref=v0.0.31
|
Reference in New Issue
Block a user