diff --git a/apps/local-path-provisioner.yaml b/apps/local-path-provisioner.yaml new file mode 100644 index 0000000..c88feff --- /dev/null +++ b/apps/local-path-provisioner.yaml @@ -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 diff --git a/local-path-provisioner/kustomization.yaml b/local-path-provisioner/kustomization.yaml new file mode 100644 index 0000000..3a6aa1c --- /dev/null +++ b/local-path-provisioner/kustomization.yaml @@ -0,0 +1,3 @@ +--- +resources: +- github.com/rancher/local-path-provisioner//deploy?ref=v0.0.31