From 6c32fbac270ab746be70a1418e587dd98ea2a4fd Mon Sep 17 00:00:00 2001 From: Stefan Sedich Date: Thu, 23 Apr 2020 12:25:08 -0700 Subject: [PATCH] feat: add support for setting s3 region for artifact repository (#286) * feat: add support for setting s3 region for artifact repository * Bump chart version --- charts/argo/Chart.yaml | 2 +- charts/argo/templates/workflow-controller-config-map.yaml | 3 +++ charts/argo/values.yaml | 1 + 3 files changed, 5 insertions(+), 1 deletion(-) diff --git a/charts/argo/Chart.yaml b/charts/argo/Chart.yaml index 523d30b3..4a5e626b 100644 --- a/charts/argo/Chart.yaml +++ b/charts/argo/Chart.yaml @@ -2,7 +2,7 @@ apiVersion: v1 appVersion: "v2.6.1" description: A Helm chart for Argo Workflows name: argo -version: 0.7.4 +version: 0.7.5 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/workflow-controller-config-map.yaml b/charts/argo/templates/workflow-controller-config-map.yaml index 43699820..712e4fd5 100644 --- a/charts/argo/templates/workflow-controller-config-map.yaml +++ b/charts/argo/templates/workflow-controller-config-map.yaml @@ -36,6 +36,9 @@ data: {{- if .Values.artifactRepository.s3.keyPrefix }} keyPrefix: {{ .Values.artifactRepository.s3.keyPrefix }} {{- end }} + {{- if .Values.artifactRepository.s3.region }} + region: {{ .Values.artifactRepository.s3.region }} + {{- end }} {{- end}} {{- if .Values.controller.metricsConfig.enabled }} metricsConfig: diff --git a/charts/argo/values.yaml b/charts/argo/values.yaml index e1bb1376..4e68c27e 100644 --- a/charts/argo/values.yaml +++ b/charts/argo/values.yaml @@ -190,6 +190,7 @@ artifactRepository: insecure: true # bucket: # endpoint: + # region: # NOTE: These are setting attributes for the `minio` optional dependency minio: