From 9939da51cfabe465ccb730a88976ce2a6b26112e Mon Sep 17 00:00:00 2001 From: Vlad Losev Date: Fri, 13 Nov 2020 14:42:39 -0800 Subject: [PATCH 1/2] fix(argo): Map the /tmp directory into server pods. (#498) --- charts/argo/Chart.yaml | 4 ++-- charts/argo/templates/server-deployment.yaml | 9 ++++++--- charts/argo/values.yaml | 2 +- 3 files changed, 9 insertions(+), 6 deletions(-) diff --git a/charts/argo/Chart.yaml b/charts/argo/Chart.yaml index 744996b6..ceabe44b 100644 --- a/charts/argo/Chart.yaml +++ b/charts/argo/Chart.yaml @@ -1,8 +1,8 @@ apiVersion: v1 -appVersion: v2.11.3 +appVersion: v2.11.7 description: A Helm chart for Argo Workflows name: argo -version: 0.13.2 +version: 0.13.3 icon: https://raw.githubusercontent.com/argoproj/argo/master/docs/assets/argo.png home: https://github.com/argoproj/argo-helm maintainers: diff --git a/charts/argo/templates/server-deployment.yaml b/charts/argo/templates/server-deployment.yaml index bfaa3e97..6fc6aa45 100644 --- a/charts/argo/templates/server-deployment.yaml +++ b/charts/argo/templates/server-deployment.yaml @@ -67,16 +67,20 @@ spec: value: {{ .Values.server.baseHref | quote }} resources: {{- toYaml .Values.server.resources | nindent 12 }} - {{- with .Values.server.volumeMounts }} volumeMounts: + - name: tmp + mountPath: /tmp + {{- with .Values.server.volumeMounts }} {{- toYaml . | nindent 12}} {{- end }} {{- with .Values.images.pullSecrets }} imagePullSecrets: {{- toYaml . | nindent 8 }} {{- end }} - {{- with .Values.server.volumes }} volumes: + - name: tmp + emptyDir: {} + {{- with .Values.server.volumes }} {{- toYaml . | nindent 8}} {{- end }} {{- with .Values.server.nodeSelector }} @@ -94,5 +98,4 @@ spec: {{- if .Values.server.priorityClassName }} priorityClassName: {{ .Values.server.priorityClassName }} {{- end }} - {{- end -}} diff --git a/charts/argo/values.yaml b/charts/argo/values.yaml index a6cceec0..4ab21912 100644 --- a/charts/argo/values.yaml +++ b/charts/argo/values.yaml @@ -7,7 +7,7 @@ images: # Secrets with credentials to pull images from a private registry pullSecrets: [] # - name: argo-pull-secret - tag: v2.11.3 + tag: v2.11.7 crdVersion: v1alpha1 installCRD: true From c99716bc2036efc74a46bdd76da5a9630ccd786b Mon Sep 17 00:00:00 2001 From: Vlad Losev Date: Mon, 16 Nov 2020 11:07:02 -0800 Subject: [PATCH 2/2] fix(argo): Volume indents. (#500) Signed-off-by: Vlad Losev --- charts/argo/Chart.yaml | 2 +- charts/argo/templates/server-deployment.yaml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/charts/argo/Chart.yaml b/charts/argo/Chart.yaml index ceabe44b..6c46cbfe 100644 --- a/charts/argo/Chart.yaml +++ b/charts/argo/Chart.yaml @@ -2,7 +2,7 @@ apiVersion: v1 appVersion: v2.11.7 description: A Helm chart for Argo Workflows name: argo -version: 0.13.3 +version: 0.13.4 icon: https://raw.githubusercontent.com/argoproj/argo/master/docs/assets/argo.png home: https://github.com/argoproj/argo-helm maintainers: diff --git a/charts/argo/templates/server-deployment.yaml b/charts/argo/templates/server-deployment.yaml index 6fc6aa45..bae59607 100644 --- a/charts/argo/templates/server-deployment.yaml +++ b/charts/argo/templates/server-deployment.yaml @@ -71,7 +71,7 @@ spec: - name: tmp mountPath: /tmp {{- with .Values.server.volumeMounts }} - {{- toYaml . | nindent 12}} + {{- toYaml . | nindent 10}} {{- end }} {{- with .Values.images.pullSecrets }} imagePullSecrets: @@ -81,7 +81,7 @@ spec: - name: tmp emptyDir: {} {{- with .Values.server.volumes }} - {{- toYaml . | nindent 8}} + {{- toYaml . | nindent 6}} {{- end }} {{- with .Values.server.nodeSelector }} nodeSelector: