From 9939da51cfabe465ccb730a88976ce2a6b26112e Mon Sep 17 00:00:00 2001 From: Vlad Losev Date: Fri, 13 Nov 2020 14:42:39 -0800 Subject: [PATCH] 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