Unverified Commit 6c7bd270 authored by nanaboat's avatar nanaboat Committed by GitHub

added volumes for chronograf. (#219)

* added volumes for chronograf. * feat: add ability to provide volume and mountPoints
parent 0f91d6bb
apiVersion: v1
name: chronograf
version: 1.1.17
version: 1.1.18
appVersion: 1.8.0
description: Open-source web application written in Go and React.js that provides
the tools to visualize your monitoring data and easily create alerting and automation
......
......@@ -175,6 +175,13 @@ spec:
volumeMounts:
- name: data
mountPath: /var/lib/chronograf
{{- range .Values.volumeMounts }}
- name: {{ .name }}
mountPath: {{ .mountPath }}
{{- end }}
{{- if .Values.mountPoints }}
{{ toYaml .Values.mountPoints | indent 8 }}
{{- end }}
resources:
{{ toYaml .Values.resources | indent 10 }}
{{- with .Values.nodeSelector }}
......@@ -197,3 +204,6 @@ spec:
{{ else }}
emptyDir: {}
{{ end }}
{{- if .Values.volumes }}
{{ toYaml .values.volumes | indent 6 }}
{{- end }}
......@@ -122,3 +122,12 @@ env:
## The name of a secret in the same kubernetes namespace which contain values to be added to the environment
## This can be useful for auth tokens, etc
envFromSecret: ""
# volumes:
# - name: chronograf-output-influxdb2
# configMap:
# name: "chronograf-output-influxdb2"
# mountPoints:
# - name: chronograf-output-influxdb2
# mountPath: /var/lib/chronograf/conf.d
# subPath: influxdb2.conf
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