You need to sign in or sign up before continuing.
Unverified Commit cb39c54e authored by Angelo Fausti's avatar Angelo Fausti Committed by GitHub

Add values to the environment from a secret (#192)

- Use a secret in the same kubernetes namespace which contain values to be added to the environment. - Bump version to 4.8.5
parent 2e84a738
apiVersion: v1
name: influxdb
version: 4.8.4
version: 4.8.5
appVersion: 1.8.0
description: Scalable datastore for metrics, events, and real-time analytics.
keywords:
......
......@@ -90,6 +90,11 @@ spec:
value: "$(_HOSTNAME).{{ include "influxdb.fullname" . }}"
{{- end }}
{{- end }}
{{- if .Values.envFromSecret }}
envFrom:
- secretRef:
name: {{ .Values.envFromSecret }}
{{- end }}
livenessProbe:
httpGet:
path: /ping
......
......@@ -213,6 +213,12 @@ env: {}
# - name: INFLUXDB_DB
# value: "demo"
## The name of a secret in the same kubernetes namespace which contain values
## to be added to the environment.
## This can be used, for example, to set the INFLUXDB_HTTP_SHARED_SECRET
## environment variable.
envFromSecret: {}
## InfluxDB configuration
## ref: https://docs.influxdata.com/influxdb/v1.7/administration/config
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