From 49880e86f50f55727db8b7e74cb8c4a4a4888012 Mon Sep 17 00:00:00 2001 From: Vlad Losev Date: Wed, 16 Sep 2020 08:36:52 -0700 Subject: [PATCH] Adds support for workflow restrictions. --- charts/argo/templates/workflow-controller-config-map.yaml | 3 +++ charts/argo/values.yaml | 2 ++ 2 files changed, 5 insertions(+) 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