mirror of
https://github.com/helm/charts.git
synced 2026-08-23 22:37:45 +00:00
[stable/grafana] Add extraContainerVolumes (#22264)
* [stable/grafana] adding extraContainerVolumes variable with empty list as default. Signed-off-by: Chris Downs <downs@mythical.games> * [stable/grafana] if there are volumes defined by extraContainerVolumes, add them to the volumes section of the pod spec Signed-off-by: Chris Downs <downs@mythical.games> * [stable/grafana] documenting new extraContainerVolumes variable in README Signed-off-by: Chris Downs <downs@mythical.games> * [stable/grafana] bumping chart version Signed-off-by: Chris Downs <downs@mythical.games>
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
apiVersion: v1
|
||||
name: grafana
|
||||
version: 5.0.23
|
||||
version: 5.0.24
|
||||
appVersion: 6.7.3
|
||||
kubeVersion: "^1.8.0-0"
|
||||
description: The leading tool for querying and visualizing time series and metrics.
|
||||
|
||||
@@ -80,6 +80,7 @@ You have to add --force to your helm upgrade command as the labels of the chart
|
||||
| `affinity` | Affinity settings for pod assignment | `{}` |
|
||||
| `extraInitContainers` | Init containers to add to the grafana pod | `{}` |
|
||||
| `extraContainers` | Sidecar containers to add to the grafana pod | `{}` |
|
||||
| `extraContainerVolumes` | Volumes that can be mounted in sidecar containers | `[]` |
|
||||
| `schedulerName` | Name of the k8s scheduler (other than default) | `nil` |
|
||||
| `persistence.enabled` | Use persistent volume to store data | `false` |
|
||||
| `persistence.type` | Type of persistence (`pvc` or `statefulset`) | `pvc` |
|
||||
|
||||
@@ -366,4 +366,7 @@ volumes:
|
||||
- name: {{ .name }}
|
||||
emptyDir: {}
|
||||
{{- end -}}
|
||||
{{- if .Values.extraContainerVolumes }}
|
||||
{{ toYaml .Values.extraContainerVolumes | indent 2 }}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
|
||||
@@ -191,6 +191,14 @@ extraContainers: |
|
||||
# - name: proxy-web
|
||||
# containerPort: 4181
|
||||
|
||||
## Volumes that can be used in init containers that will not be mounted to deployment pods
|
||||
extraContainerVolumes: []
|
||||
# - name: volume-from-secret
|
||||
# secret:
|
||||
# secretName: secret-to-mount
|
||||
# - name: empty-dir-volume
|
||||
# emptyDir: {}
|
||||
|
||||
## Enable persistence using Persistent Volume Claims
|
||||
## ref: http://kubernetes.io/docs/user-guide/persistent-volumes/
|
||||
##
|
||||
|
||||
Reference in New Issue
Block a user