mirror of
https://github.com/helm/charts.git
synced 2026-08-23 22:37:45 +00:00
make chnange of ownership on init optional (#11061)
Signed-off-by: Daniel Karnutsch <d.karnutsch@gmail.com>
This commit is contained in:
committed by
Kubernetes Prow Robot
parent
cb30a6076f
commit
f333fb799a
@@ -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.
|
||||
|
||||
@@ -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` |
|
||||
|
||||
@@ -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 }}
|
||||
|
||||
@@ -119,6 +119,7 @@ affinity: {}
|
||||
##
|
||||
persistence:
|
||||
enabled: false
|
||||
initChownData: true
|
||||
# storageClassName: default
|
||||
accessModes:
|
||||
- ReadWriteOnce
|
||||
|
||||
Reference in New Issue
Block a user