add argo-workflows
This commit is contained in:
34
apps/argo-workflows.yaml
Normal file
34
apps/argo-workflows.yaml
Normal file
@ -0,0 +1,34 @@
|
||||
apiVersion: argoproj.io/v1alpha1
|
||||
kind: ApplicationSet
|
||||
metadata:
|
||||
name: argo-workflows
|
||||
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: 'argo-workflows-{{.cluster}}'
|
||||
spec:
|
||||
project: default
|
||||
source:
|
||||
repoURL: https://git.kill0.net/ryanc/argocd.git
|
||||
targetRevision: HEAD
|
||||
path: argo-workflows
|
||||
destination:
|
||||
server: '{{.url}}'
|
||||
namespace: argo
|
||||
syncPolicy:
|
||||
automated:
|
||||
prune: true
|
||||
selfHeal: true
|
||||
syncOptions:
|
||||
- CreateNamespace=true
|
3
argo-workflows/kustomization.yaml
Normal file
3
argo-workflows/kustomization.yaml
Normal file
@ -0,0 +1,3 @@
|
||||
---
|
||||
resources:
|
||||
- github.com/argoproj/argo-workflows//manifests/cluster-install?ref=v3.6.10
|
Reference in New Issue
Block a user