4 name: {{ include "common.fullname.influxdb" . }}
6 {{- include "common.influxdb.labels" . | nindent 4 }}
9 reporting-disabled = {{ .Values.config.reporting_disabled | default false }}
10 bind-address = ":{{ include "common.serviceport.influxdb.rpc.bind_address" . | default 8088 }}"
13 dir = "/var/lib/influxdb/meta"
14 {{- range $key, $value := index .Values.config.meta }}
15 {{- $tp := typeOf $value }}
16 {{- if eq $tp "string" }}
17 {{ $key }} = {{ $value | quote }}
19 {{ $key }} = {{ $value }}
23 {{- if .Values.enterprise.enabled }}
24 internal-shared-secret = "{{ sha256sum .Values.enterprise.meta.seed }}"
25 meta-auth-enabled = {{ .Values.config.meta.authEnabled }}
29 dir = "/var/lib/influxdb/data"
30 wal-dir = "/var/lib/influxdb/wal"
31 {{- range $key, $value := index .Values.config.data }}
32 {{- $tp := typeOf $value }}
33 {{- if eq $tp "string" }}
34 {{ $key }} = {{ $value | quote }}
36 {{ $key }} = {{ $value }}
41 {{- range $key, $value := index .Values.config.coordinator }}
42 {{- $tp := typeOf $value }}
43 {{- if eq $tp "string" }}
44 {{ $key }} = {{ $value | quote }}
46 {{ $key }} = {{ $value }}
51 {{- range $key, $value := index .Values.config.retention }}
52 {{- $tp := typeOf $value }}
53 {{- if eq $tp "string" }}
54 {{ $key }} = {{ $value | quote }}
56 {{ $key }} = {{ $value }}
61 {{- range $key, $value := index .Values.config.shard_precreation }}
62 {{- $tp := typeOf $value }}
63 {{- if eq $tp "string" }}
64 {{ $key }} = {{ $value | quote }}
66 {{ $key }} = {{ $value }}
71 {{- range $key, $value := index .Values.config.monitor }}
72 {{- $tp := typeOf $value }}
73 {{- if eq $tp "string" }}
74 {{ $key }} = {{ $value | quote }}
76 {{ $key }} = {{ $value }}
81 {{- range $key, $value := index .Values.config.subscriber }}
82 {{- $tp := typeOf $value }}
83 {{- if eq $tp "string" }}
84 {{ $key }} = {{ $value | quote }}
86 {{ $key }} = {{ $value }}
91 {{- range $key, $value := index .Values.config.http }}
92 {{- $tp := typeOf $value }}
93 {{- if eq $tp "string" }}
94 {{ $key }} = {{ $value | quote }}
96 {{ $key }} = {{ $value }}
100 # TODO: allow multiple graphite listeners
103 {{- range $key, $value := index .Values.config.graphite }}
104 {{- if ne $key "templates"}}
105 {{- $tp := typeOf $value }}
106 {{- if eq $tp "string" }}
107 {{ $key }} = {{ $value | quote }}
109 {{ $key }} = {{ $value }}
113 {{- if .Values.config.graphite.templates }}
115 {{- range .Values.config.graphite.templates }}
121 # TODO: allow multiple collectd listeners with templates
124 {{- range $key, $value := index .Values.config.collectd }}
125 {{- $tp := typeOf $value }}
126 {{- if eq $tp "string" }}
127 {{ $key }} = {{ $value | quote }}
129 {{ $key }} = {{ $value }}
133 # TODO: allow multiple opentsdb listeners with templates
136 {{- range $key, $value := index .Values.config.opentsdb }}
137 {{- $tp := typeOf $value }}
138 {{- if eq $tp "string" }}
139 {{ $key }} = {{ $value | quote }}
141 {{ $key }} = {{ $value }}
145 # TODO: allow multiple udp listeners with templates
148 {{- range $key, $value := index .Values.config.udp }}
149 {{- $tp := typeOf $value }}
150 {{- if eq $tp "string" }}
151 {{ $key }} = {{ $value | quote }}
153 {{ $key }} = {{ $value }}
158 {{- range $key, $value := index .Values.config.continuous_queries }}
159 {{- $tp := typeOf $value }}
160 {{- if eq $tp "string" }}
161 {{ $key }} = {{ $value | quote }}
163 {{ $key }} = {{ $value }}
168 {{- range $key, $value := index .Values.config.logging }}
169 {{- $tp := typeOf $value }}
170 {{- if eq $tp "string" }}
171 {{ $key }} = {{ $value | quote }}
173 {{ $key }} = {{ $value }}
177 {{ if .Values.enterprise.enabled -}}
179 license-key = {{ .Values.enterprise.licensekey | quote }}
183 dir = "/var/lib/influxdb/hh"