Skip to content

Commit 41eef70

Browse files
argo workflows (#108)
1 parent 79dce32 commit 41eef70

File tree

3 files changed

+48
-0
lines changed

3 files changed

+48
-0
lines changed

add-ons/argo-workflows/Chart.yaml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
apiVersion: v2
2+
appVersion: v3.4.3
3+
name: argo-workflows
4+
description: A Helm chart for Argo Workflows
5+
type: application
6+
# The chart version. This version number should be incremented each time you make changes
7+
# to the chart and its templates, including the app version.
8+
version: 0.1.0
9+
10+
dependencies:
11+
- name: argo-workflows
12+
version: 0.20.6
13+
repository: https://argoproj.github.io/argo-helm
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
{{- if and (.Values.argoWorkflows) (.Values.argoWorkflows.enable) -}}
2+
apiVersion: argoproj.io/v1alpha1
3+
kind: Application
4+
metadata:
5+
name: argo-workflows
6+
namespace: argocd
7+
finalizers:
8+
- resources-finalizer.argocd.argoproj.io
9+
spec:
10+
project: default
11+
source:
12+
repoURL: {{ .Values.repoUrl }}
13+
path: add-ons/argo-workflows
14+
targetRevision: {{ .Values.targetRevision }}
15+
helm:
16+
values: |
17+
argo-workflows:
18+
{{- toYaml .Values.argoWorkflows | nindent 10 }}
19+
destination:
20+
server: https://kubernetes.default.svc
21+
namespace: argo-workflows
22+
syncPolicy:
23+
automated:
24+
prune: true
25+
retry:
26+
limit: 1
27+
backoff:
28+
duration: 5s
29+
factor: 2
30+
maxDuration: 1m
31+
{{- end -}}

chart/values.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -163,6 +163,10 @@ yunikorn:
163163
argoRollouts:
164164
enable: false
165165

166+
# Argo Rollout Values
167+
argoWorkflows:
168+
enable: false
169+
166170
# Kube State Metrics Values
167171
kubeStateMetrics:
168172
enable: false

0 commit comments

Comments
 (0)