Commit 3d8f2b6e authored by Axel Köhler's avatar Axel Köhler Committed by k8s-ci-robot

[stable/influxdb] passing environment variables to influx (#3007)

parent a8ed7816
name: influxdb name: influxdb
version: 0.6.1 version: 0.7.0
description: Scalable datastore for metrics, events, and real-time analytics. description: Scalable datastore for metrics, events, and real-time analytics.
keywords: keywords:
- influxdb - influxdb
......
...@@ -43,6 +43,10 @@ spec: ...@@ -43,6 +43,10 @@ spec:
- name: opentsdb - name: opentsdb
containerPort: {{ .Values.config.opentsdb.bind_address }} containerPort: {{ .Values.config.opentsdb.bind_address }}
{{- end }} {{- end }}
{{ if .Values.env }}
env:
{{ toYaml .Values.env | indent 10 }}
{{- end }}
livenessProbe: livenessProbe:
httpGet: httpGet:
path: /ping path: /ping
......
...@@ -82,6 +82,13 @@ resources: ...@@ -82,6 +82,13 @@ resources:
## ##
nodeSelector: {} nodeSelector: {}
## The InfluxDB image uses several environment variables to automatically
## configure certain parts of the server.
## Ref: https://hub.docker.com/_/influxdb/
env:
# - name: INFLUXDB_DB
# value: "demo"
## Change InfluxDB configuration paramaters below: ## Change InfluxDB configuration paramaters below:
## Defaults are indicated ## Defaults are indicated
## ref: https://docs.influxdata.com/influxdb/v1.1/administration/config/ ## ref: https://docs.influxdata.com/influxdb/v1.1/administration/config/
......
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