[stable/prometheus] Defaulting the PVC's reclaim policy to Retain (#9284)

Signed-off-by: Dave Henderson <dhenderson@gmail.com>
This commit is contained in:
Dave Henderson
2018-11-19 05:57:25 -08:00
committed by k8s-ci-robot
parent cae4ac103d
commit 6a9f27258c
4 changed files with 9 additions and 1 deletions
+1 -1
View File
@@ -1,5 +1,5 @@
name: prometheus
version: 7.4.3
version: 7.4.4
appVersion: 2.5.0
description: Prometheus is a monitoring system and time series database.
home: https://prometheus.io/
+1
View File
@@ -246,6 +246,7 @@ Parameter | Description | Default
`server.persistentVolume.annotations` | Prometheus server data Persistent Volume annotations | `{}`
`server.persistentVolume.existingClaim` | Prometheus server data Persistent Volume existing claim name | `""`
`server.persistentVolume.mountPath` | Prometheus server data Persistent Volume mount root path | `/data`
`server.persistentVolume.reclaimPolicy` | Prometheus server data Persistent Volume reclaim policy | `Retain`
`server.persistentVolume.size` | Prometheus server data Persistent Volume size | `8Gi`
`server.persistentVolume.storageClass` | Prometheus server data Persistent Volume Storage Class | `unset`
`server.persistentVolume.subPath` | Subdirectory of Prometheus server data Persistent Volume to mount | `""`
@@ -24,6 +24,7 @@ spec:
storageClassName: "{{ .Values.server.persistentVolume.storageClass }}"
{{- end }}
{{- end }}
persistentVolumeReclaimPolicy: {{ .Values.server.persistentVolume.reclaimPolicy | quote }}
resources:
requests:
storage: "{{ .Values.server.persistentVolume.size }}"
+6
View File
@@ -651,6 +651,12 @@ server:
##
subPath: ""
## reclaimPolicy for the persistent volume.
## See https://kubernetes.io/docs/tasks/administer-cluster/change-pv-reclaim-policy/
## Can be Retain, Recycle, or Delete
##
reclaimPolicy: Retain
## Annotations to be added to Prometheus server pods
##
podAnnotations: {}