You need to sign in or sign up before continuing.
Commit f8faa7f6 authored by Aisuko's avatar Aisuko Committed by Kubernetes Prow Robot

Persistence should be enabled and Notes include the password if set default user (#14411)

Signed-off-by: 's avatarAisuko <urakiny@gmail.com>
parent fd3c6fa8
apiVersion: v1 apiVersion: v1
name: influxdb name: influxdb
version: 1.1.8 version: 1.1.9
appVersion: 1.7.6 appVersion: 1.7.6
description: Scalable datastore for metrics, events, and real-time analytics. description: Scalable datastore for metrics, events, and real-time analytics.
keywords: keywords:
......
...@@ -13,3 +13,15 @@ You can also connect to the influx cli from inside the container. To open a shel ...@@ -13,3 +13,15 @@ You can also connect to the influx cli from inside the container. To open a shel
To tail the logs for the InfluxDB pod run the following: To tail the logs for the InfluxDB pod run the following:
- kubectl logs -f --namespace {{ .Release.Namespace }} $(kubectl get pods --namespace {{ .Release.Namespace }} -l app={{ template "influxdb.fullname" . }} -o jsonpath='{ .items[0].metadata.name }') - kubectl logs -f --namespace {{ .Release.Namespace }} $(kubectl get pods --namespace {{ .Release.Namespace }} -l app={{ template "influxdb.fullname" . }} -o jsonpath='{ .items[0].metadata.name }')
{{- if .Values.setDefaultUser.enabled }}
To retrieve the default user name:
- echo $(kubectl get secret {{ template "influxdb.fullname" . }}-auth -o "jsonpath={.data['influxdb-user']}" --namespace {{ .Release.Namespace }} | base64 --decode)
To retrieve the default user password:
- echo $(kubectl get secret {{ template "influxdb.fullname" . }}-auth -o "jsonpath={.data['influxdb-password']}" --namespace {{ .Release.Namespace }} | base64 --decode)
{{- end }}
\ No newline at end of file
...@@ -25,7 +25,7 @@ service: ...@@ -25,7 +25,7 @@ service:
## Persist data to a persistent volume ## Persist data to a persistent volume
## ##
persistence: persistence:
enabled: false enabled: true
## If true will use an existing PVC instead of creating one ## If true will use an existing PVC instead of creating one
# useExisting: false # useExisting: false
## Name of existing PVC to be used in the influx deployment ## Name of existing PVC to be used in the influx deployment
......
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