From eaf8c629bf417375d4c8090566235423b69ad81b Mon Sep 17 00:00:00 2001 From: Vlad Losev Date: Wed, 16 Sep 2020 12:46:13 -0700 Subject: [PATCH] feat(argo): Add support for workflow restrictions. (#447) --- charts/argo/Chart.yaml | 2 +- charts/argo/templates/workflow-controller-config-map.yaml | 3 +++ charts/argo/values.yaml | 2 ++ 3 files changed, 6 insertions(+), 1 deletion(-) diff --git a/charts/argo/Chart.yaml b/charts/argo/Chart.yaml index b98b6d96..b9684c1d 100644 --- a/charts/argo/Chart.yaml +++ b/charts/argo/Chart.yaml @@ -2,7 +2,7 @@ apiVersion: v1 appVersion: v2.8.0 description: A Helm chart for Argo Workflows name: argo -version: 0.11.0 +version: 0.12.0 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 9563ac12..2c182c60 100644 --- a/charts/argo/templates/workflow-controller-config-map.yaml +++ b/charts/argo/templates/workflow-controller-config-map.yaml @@ -78,3 +78,6 @@ data: {{- with .Values.server.sso }} sso: {{- toYaml . | nindent 6 }} {{- end }} + {{- with .Values.controller.workflowRestrictions }} + workflowRestrictions: {{- toYaml . | nindent 6 }} + {{- end }} diff --git a/charts/argo/values.yaml b/charts/argo/values.yaml index 718d4b55..5914600c 100644 --- a/charts/argo/values.yaml +++ b/charts/argo/values.yaml @@ -73,6 +73,8 @@ controller: # secondsAfterCompletion: 84600 # workflowWorkers: 32 # podWorkers: 32 + workflowRestrictions: {} # Only valid for 2.9+ + # templateReferencing: Strict|Secure telemetryConfig: enabled: false path: /telemetry