Commit 4a33e8b7 authored by Patrick Lucas's avatar Patrick Lucas Committed by Vic Iglesias

Fix influxdb deployment (#1424)

* Fix influxdb deployment Previously, setting `config.graphite.enabled` (or other such parameters) to `true` resulted in a yaml syntax error because the content within the `{{- if` block would be appended to the previous line due to the hyphen. * Update Chart.yaml
parent 36d8f4da
name: influxdb name: influxdb
version: 0.4.1 version: 0.4.2
description: Scalable datastore for metrics, events, and real-time analytics. description: Scalable datastore for metrics, events, and real-time analytics.
keywords: keywords:
- influxdb - influxdb
......
...@@ -23,23 +23,23 @@ spec: ...@@ -23,23 +23,23 @@ spec:
ports: ports:
- name: api - name: api
containerPort: {{ .Values.config.http.bind_address }} containerPort: {{ .Values.config.http.bind_address }}
{{- if .Values.config.admin.enabled -}} {{ if .Values.config.admin.enabled -}}
- name: admin - name: admin
containerPort: {{ .Values.config.admin.bind_address }} containerPort: {{ .Values.config.admin.bind_address }}
{{- end }} {{- end }}
{{- if .Values.config.graphite.enabled -}} {{ if .Values.config.graphite.enabled -}}
- name: graphite - name: graphite
containerPort: {{ .Values.config.graphite.bind_address }} containerPort: {{ .Values.config.graphite.bind_address }}
{{- end }} {{- end }}
{{- if .Values.config.collectd.enabled -}} {{ if .Values.config.collectd.enabled -}}
- name: collectd - name: collectd
containerPort: {{ .Values.config.collectd.bind_address }} containerPort: {{ .Values.config.collectd.bind_address }}
{{- end }} {{- end }}
{{- if .Values.config.udp.enabled -}} {{ if .Values.config.udp.enabled -}}
- name: udp - name: udp
containerPort: {{ .Values.config.udp.bind_address }} containerPort: {{ .Values.config.udp.bind_address }}
{{- end }} {{- end }}
{{- if .Values.config.opentsdb.enabled -}} {{ if .Values.config.opentsdb.enabled -}}
- name: opentsdb - name: opentsdb
containerPort: {{ .Values.config.opentsdb.bind_address }} containerPort: {{ .Values.config.opentsdb.bind_address }}
{{- end }} {{- end }}
......
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