From 2d5d38e47d7efdf6754cf3163ecb60e6d3c798cd Mon Sep 17 00:00:00 2001 From: Derek Wang Date: Thu, 21 May 2020 23:07:59 -0700 Subject: [PATCH] remove indent --- .../templates/gateway-controller-configmap.yaml | 6 +++--- .../templates/sensor-controller-configmap.yaml | 6 +++--- charts/argo-events/values.yaml | 10 +++++----- 3 files changed, 11 insertions(+), 11 deletions(-) diff --git a/charts/argo-events/templates/gateway-controller-configmap.yaml b/charts/argo-events/templates/gateway-controller-configmap.yaml index 21ff76e3..d59bbb93 100644 --- a/charts/argo-events/templates/gateway-controller-configmap.yaml +++ b/charts/argo-events/templates/gateway-controller-configmap.yaml @@ -9,11 +9,11 @@ metadata: data: config: | {{- if .Values.instanceID.enabled }} - {{- if .Values.instanceID.useReleaseName }} +{{- if .Values.instanceID.useReleaseName }} instanceID: {{ .Release.Name }} - {{- else }} +{{- else }} instanceID: {{ .Values.instanceID.explicitID }} - {{- end }} +{{- end }} {{- end }} {{- if .Values.singleNamespace }} namespace: {{ .Values.namespace }} diff --git a/charts/argo-events/templates/sensor-controller-configmap.yaml b/charts/argo-events/templates/sensor-controller-configmap.yaml index a617e1f2..61252531 100644 --- a/charts/argo-events/templates/sensor-controller-configmap.yaml +++ b/charts/argo-events/templates/sensor-controller-configmap.yaml @@ -9,11 +9,11 @@ metadata: data: config: | {{- if .Values.instanceID.enabled }} - {{- if .Values.instanceID.useReleaseName }} +{{- if .Values.instanceID.useReleaseName }} instanceID: {{ .Release.Name }} - {{- else }} +{{- else }} instanceID: {{ .Values.instanceID.explicitID }} - {{- end }} +{{- end }} {{- end }} {{- if .Values.singleNamespace }} namespace: {{ .Values.namespace }} diff --git a/charts/argo-events/values.yaml b/charts/argo-events/values.yaml index 147cb365..a7dc512f 100644 --- a/charts/argo-events/values.yaml +++ b/charts/argo-events/values.yaml @@ -30,13 +30,13 @@ additionalServiceAccountRules: resources: - customresourcedefinitions -# `instanceID.enabled` configures the controllers to filter the requests -# to only those which have a matching instanceID attribute. -# NOTE: If `instanceID.enabled` is set to `true` then either `instanceID.userReleaseName` -# or `instanceID.explicitID` must be defined. instanceID: + # `instanceID.enabled` configures the controllers to filter the requests + # to only those which have a matching instanceID attribute. enabled: false - # useReleaseName: false + # NOTE: If `instanceID.enabled` is set to `true` then either `instanceID.userReleaseName` + # or `instanceID.explicitID` must be defined. + # useReleaseName: true # explicitID: unique-argo-events-controller-identifier # set `singleNamespace` to false to have the controllers