Unverified Commit d659011c authored by ivanflux's avatar ivanflux Committed by GitHub

chronograf: do not remove pvc when uninstalling chart (#235)

* do not remove pvc when uninstalling chart * add keepPvc variable * add end to if * bump version * bump version * fix lint * bump Chronograf chart to 1.1.22 * Update Chart.yaml * Update Chart.yaml * Fix single -> double quote Co-authored-by: 's avatartimhallinflux <timhallinflux@users.noreply.github.com>
parent 5989b897
apiVersion: v1
name: chronograf
version: 1.1.21
appVersion: 1.8.8
version: 1.1.22
appVersion: 1.8.9.1
description: Open-source web application written in Go and React.js that provides
the tools to visualize your monitoring data and easily create alerting and automation
rules.
......
......@@ -8,6 +8,10 @@ metadata:
chart: "{{ .Chart.Name }}-{{ .Chart.Version }}"
release: "{{ .Release.Name }}"
heritage: "{{ .Release.Service }}"
annotations:
{{- if (eq "true" .Values.persistence.keepPvc) }}
"helm.sh/resource-policy": keep
{{- end }}
spec:
accessModes:
- {{ .Values.persistence.accessMode | quote }}
......
......@@ -24,8 +24,9 @@ persistence:
## If undefined (the default) or set to null, no storageClassName spec is
## set, choosing the default provisioner. (gp2 on AWS, standard on
## GKE, AWS & OpenStack)
##
# storageClass: "-"
## If keepPvc is true, pvc will not be deleted after running helm uninstall
# keepPvc:
accessMode: ReadWriteOnce
size: 8Gi
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment