Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
I
influxdb
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Jacklull
influxdb
Commits
c22d19f4
Commit
c22d19f4
authored
5 years ago
by
Hugo Cortes
Committed by
David McKay
5 years ago
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix(influxdb): pass boolean conf values as is to configmap
Signed-off-by:
Hugo Cortes
<
contact@hugocortes.dev
>
parent
33074745
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
71 additions
and
1 deletion
+71
-1
Chart.yaml
charts/influxdb/Chart.yaml
+1
-1
configmap.yaml
charts/influxdb/templates/configmap.yaml
+70
-0
No files found.
charts/influxdb/Chart.yaml
View file @
c22d19f4
apiVersion
:
v1
name
:
influxdb
version
:
4.3.
5
version
:
4.3.
6
appVersion
:
1.7.10
description
:
Scalable datastore for metrics, events, and real-time analytics.
keywords
:
...
...
This diff is collapsed.
Click to expand it.
charts/influxdb/templates/configmap.yaml
View file @
c22d19f4
...
...
@@ -12,7 +12,12 @@ data:
[meta]
dir = "/var/lib/influxdb/meta"
{{- range $key, $value := index .Values.config.meta }}
{{- $tp := typeOf $value }}
{{- if eq $tp "string" }}
{{ $key }} = {{ $value | quote }}
{{- else }}
{{ $key }} = {{ $value }}
{{- end }}
{{- end }}
{{- if .Values.enterprise.enabled }}
...
...
@@ -24,44 +29,84 @@ data:
dir = "/var/lib/influxdb/data"
wal-dir = "/var/lib/influxdb/wal"
{{- range $key, $value := index .Values.config.data }}
{{- $tp := typeOf $value }}
{{- if eq $tp "string" }}
{{ $key }} = {{ $value | quote }}
{{- else }}
{{ $key }} = {{ $value }}
{{- end }}
{{- end }}
[coordinator]
{{- range $key, $value := index .Values.config.coordinator }}
{{- $tp := typeOf $value }}
{{- if eq $tp "string" }}
{{ $key }} = {{ $value | quote }}
{{- else }}
{{ $key }} = {{ $value }}
{{- end }}
{{- end }}
[retention]
{{- range $key, $value := index .Values.config.retention }}
{{- $tp := typeOf $value }}
{{- if eq $tp "string" }}
{{ $key }} = {{ $value | quote }}
{{- else }}
{{ $key }} = {{ $value }}
{{- end }}
{{- end }}
[shard-precreation]
{{- range $key, $value := index .Values.config.shard_precreation }}
{{- $tp := typeOf $value }}
{{- if eq $tp "string" }}
{{ $key }} = {{ $value | quote }}
{{- else }}
{{ $key }} = {{ $value }}
{{- end }}
{{- end }}
[monitor]
{{- range $key, $value := index .Values.config.monitor }}
{{- $tp := typeOf $value }}
{{- if eq $tp "string" }}
{{ $key }} = {{ $value | quote }}
{{- else }}
{{ $key }} = {{ $value }}
{{- end }}
{{- end }}
[subscriber]
{{- range $key, $value := index .Values.config.subscriber }}
{{- $tp := typeOf $value }}
{{- if eq $tp "string" }}
{{ $key }} = {{ $value | quote }}
{{- else }}
{{ $key }} = {{ $value }}
{{- end }}
{{- end }}
[http]
{{- range $key, $value := index .Values.config.http }}
{{- $tp := typeOf $value }}
{{- if eq $tp "string" }}
{{ $key }} = {{ $value | quote }}
{{- else }}
{{ $key }} = {{ $value }}
{{- end }}
{{- end }}
# TODO: allow multiple graphite listeners
[[graphite]]
{{- range $key, $value := index .Values.config.graphite }}
{{- $tp := typeOf $value }}
{{- if eq $tp "string" }}
{{ $key }} = {{ $value | quote }}
{{- else }}
{{ $key }} = {{ $value }}
{{- end }}
{{- end }}
{{- if .Values.config.graphite.templates }}
templates = [
...
...
@@ -75,31 +120,56 @@ data:
[[collectd]]
{{- range $key, $value := index .Values.config.collectd }}
{{- $tp := typeOf $value }}
{{- if eq $tp "string" }}
{{ $key }} = {{ $value | quote }}
{{- else }}
{{ $key }} = {{ $value }}
{{- end }}
{{- end }}
# TODO: allow multiple opentsdb listeners with templates
[[opentsdb]]
{{- range $key, $value := index .Values.config.opentsdb }}
{{- $tp := typeOf $value }}
{{- if eq $tp "string" }}
{{ $key }} = {{ $value | quote }}
{{- else }}
{{ $key }} = {{ $value }}
{{- end }}
{{- end }}
# TODO: allow multiple udp listeners with templates
[[udp]]
{{- range $key, $value := index .Values.config.udp }}
{{- $tp := typeOf $value }}
{{- if eq $tp "string" }}
{{ $key }} = {{ $value | quote }}
{{- else }}
{{ $key }} = {{ $value }}
{{- end }}
{{- end }}
[continuous_queries]
{{- range $key, $value := index .Values.config.continuous_queries }}
{{- $tp := typeOf $value }}
{{- if eq $tp "string" }}
{{ $key }} = {{ $value | quote }}
{{- else }}
{{ $key }} = {{ $value }}
{{- end }}
{{- end }}
[logging]
{{- range $key, $value := index .Values.config.logging }}
{{- $tp := typeOf $value }}
{{- if eq $tp "string" }}
{{ $key }} = {{ $value | quote }}
{{- else }}
{{ $key }} = {{ $value }}
{{- end }}
{{- end }}
{{ if .Values.enterprise.enabled -}}
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment