add a toggle to allow the controllers to listen on all namespaces (#41)

This commit is contained in:
Nick Stott 2019-02-28 15:11:34 -07:00 committed by Vaibhav
parent 286ba4d860
commit 1b17d04e7e
3 changed files with 11 additions and 1 deletions

View file

@ -9,4 +9,6 @@ metadata:
data:
config: |
instanceID: {{ .Values.instanceID }}
{{- if .Values.singleNamespace }}
namespace: {{ .Values.namespace }}
{{- end }}

View file

@ -9,4 +9,6 @@ metadata:
data:
config: |
instanceID: {{ .Values.instanceID }}
namespace: {{ .Values.namespace }}
{{- if .Values.singleNamespace }}
namespace: {{ .Values.namespace }}
{{- end }}

View file

@ -9,7 +9,13 @@ serviceAccount: argo-events-sa
instanceID: argo-events
# set `singleNamespace` to false to have the controllers
# listen on all namespaces. Otherwise the controllers will listen
# on the namespace provided
namespace: argo-events
singleNamespace: true
# sensor controller
sensorController: