Add the ability to change the namespace that the controller watches for workflows

This commit is contained in:
Juan C. Müller 2020-09-28 12:14:43 -04:00
parent e3371f333f
commit 0bc6afdc0d
No known key found for this signature in database
GPG key ID: A76E55A7FBA1E283
2 changed files with 5 additions and 0 deletions

View file

@ -16,6 +16,9 @@ data:
{{- end }} {{- end }}
{{- end }} {{- end }}
containerRuntimeExecutor: {{ .Values.controller.containerRuntimeExecutor }} containerRuntimeExecutor: {{ .Values.controller.containerRuntimeExecutor }}
{{- if .Values.controller.namespace }}
namespace: {{ .Values.controller.namespace }}
{{- end }}
{{- if or .Values.executor.resources .Values.executor.env .Values.executor.securityContext}} {{- if or .Values.executor.resources .Values.executor.env .Values.executor.securityContext}}
executor: executor:
{{- with .Values.executor.resources }} {{- with .Values.executor.resources }}

View file

@ -36,6 +36,8 @@ controller:
image: image:
# Overrides .images.tag if defined. # Overrides .images.tag if defined.
tag: "" tag: ""
# namespace is a label selector filter to limit the controller's watch to a specific namespace
# namespace:
# podAnnotations is an optional map of annotations to be applied to the controller Pods # podAnnotations is an optional map of annotations to be applied to the controller Pods
podAnnotations: {} podAnnotations: {}
# Optional labels to add to the controller pods # Optional labels to add to the controller pods