Commit eee881f7 authored by AmitMatsil's avatar AmitMatsil Committed by David McKay

Remove duplication of key Values.config.graphite

parent 1cacfc4d
apiVersion: v1 apiVersion: v1
name: influxdb name: influxdb
version: 4.4.5 version: 4.4.6
appVersion: 1.7.10 appVersion: 1.7.10
description: Scalable datastore for metrics, events, and real-time analytics. description: Scalable datastore for metrics, events, and real-time analytics.
keywords: keywords:
......
...@@ -101,6 +101,7 @@ data: ...@@ -101,6 +101,7 @@ data:
[[graphite]] [[graphite]]
{{- range $key, $value := index .Values.config.graphite }} {{- range $key, $value := index .Values.config.graphite }}
{{- if ne $key "templates"}}
{{- $tp := typeOf $value }} {{- $tp := typeOf $value }}
{{- if eq $tp "string" }} {{- if eq $tp "string" }}
{{ $key }} = {{ $value | quote }} {{ $key }} = {{ $value | quote }}
...@@ -108,6 +109,7 @@ data: ...@@ -108,6 +109,7 @@ data:
{{ $key }} = {{ $value }} {{ $key }} = {{ $value }}
{{- end }} {{- end }}
{{- end }} {{- end }}
{{- end }}
{{- if .Values.config.graphite.templates }} {{- if .Values.config.graphite.templates }}
templates = [ templates = [
{{- range .Values.config.graphite.templates }} {{- range .Values.config.graphite.templates }}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment