[stable/grafana] Enable extra volume mounts (#9961) (#9962)

Signed-off-by: Julian Schlichtholz <jschlichtholz@salesforce.com>
This commit is contained in:
Julian Schlichtholz
2018-12-13 11:33:54 -08:00
committed by Kubernetes Prow Robot
parent 1579053c86
commit b682081bb2
4 changed files with 20 additions and 1 deletions
+1 -1
View File
@@ -1,5 +1,5 @@
name: grafana
version: 1.20.1
version: 1.21.0
appVersion: 5.4.1
kubeVersion: "^1.8.0-0"
description: The leading tool for querying and visualizing time series and metrics.
+1
View File
@@ -63,6 +63,7 @@ The command removes all the Kubernetes components associated with the chart and
| `env` | Extra environment variables passed to pods | `{}` |
| `envFromSecret` | Name of a Kubenretes secret (must be manually created in the same namespace) containing values to be added to the environment | `""` |
| `extraSecretMounts` | Additional grafana server secret mounts | `[]` |
| `extraVolumeMounts` | Additional grafana server volume mounts | `[]` |
| `plugins` | Plugins to be loaded along with Grafana | `[]` |
| `datasources` | Configure grafana datasources | `{}` |
| `dashboardProviders` | Configure grafana dashboard providers | `{}` |
+10
View File
@@ -163,6 +163,11 @@ spec:
mountPath: {{ .mountPath }}
readOnly: {{ .readOnly }}
{{- end }}
{{- range .Values.extraVolumeMounts }}
- name: {{ .name }}
mountPath: {{ .mountPath }}
readOnly: {{ .readOnly }}
{{- end }}
ports:
- name: service
containerPort: {{ .Values.service.port }}
@@ -279,3 +284,8 @@ spec:
secretName: {{ .secretName }}
defaultMode: {{ .defaultMode }}
{{- end }}
{{- range .Values.extraVolumeMounts }}
- name: {{ .name }}
persistentVolumeClaim:
claimName: {{ .existingClaim }}
{{- end }}
+8
View File
@@ -135,6 +135,14 @@ extraSecretMounts: []
# secretName: grafana-secret-files
# readOnly: true
## Additional grafana server volume mounts
# Defines additional volume mounts.
extraVolumeMounts: []
# - name: extra-volume
# mountPath: /mnt/volume
# readOnly: true
# existingClaim: volume-claim
## Pass the plugins you want installed as a list.
##
plugins: []