make chnange of ownership on init optional (#11061)

Signed-off-by: Daniel Karnutsch <d.karnutsch@gmail.com>
This commit is contained in:
dkarnutsch
2019-02-01 14:07:48 -08:00
committed by Kubernetes Prow Robot
parent cb30a6076f
commit f333fb799a
4 changed files with 4 additions and 2 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
apiVersion: v1
name: grafana
version: 1.25.4
version: 1.26.0
appVersion: 5.4.3
kubeVersion: "^1.8.0-0"
description: The leading tool for querying and visualizing time series and metrics.
+1
View File
@@ -54,6 +54,7 @@ The command removes all the Kubernetes components associated with the chart and
| `tolerations` | Toleration labels for pod assignment | `[]` |
| `affinity` | Affinity settings for pod assignment | `{}` |
| `persistence.enabled` | Use persistent volume to store data | `false` |
| `persistence.initChownData` | Change ownership of persistent volume on initialization | `true` |
| `persistence.size` | Size of persistent volume claim | `10Gi` |
| `persistence.existingClaim` | Use an existing PVC to persist data | `nil` |
| `persistence.storageClassName` | Type of persistent volume claim | `nil` |
+1 -1
View File
@@ -46,7 +46,7 @@ spec:
{{- if ( or .Values.persistence.enabled .Values.dashboards ) }}
initContainers:
{{- end }}
{{- if .Values.persistence.enabled }}
{{- if ( and .Values.persistence.enabled .Values.persistence.initChownData ) }}
- name: init-chown-data
image: "{{ .Values.chownDataImage.repository }}:{{ .Values.chownDataImage.tag }}"
imagePullPolicy: {{ .Values.chownDataImage.pullPolicy }}
+1
View File
@@ -119,6 +119,7 @@ affinity: {}
##
persistence:
enabled: false
initChownData: true
# storageClassName: default
accessModes:
- ReadWriteOnce