mirror of
https://github.com/helm/charts.git
synced 2026-08-23 22:37:45 +00:00
When persistence.enabled=false, don't create a PVC (#7299)
This commit is contained in:
committed by
k8s-ci-robot
parent
e24a023ac0
commit
89fe5d61f2
@@ -3,7 +3,7 @@ description: Logstash is an open source, server-side data processing pipeline
|
||||
icon: https://www.elastic.co/assets/blt86e4472872eed314/logo-elastic-logstash-lt.svg
|
||||
home: https://www.elastic.co/products/logstash
|
||||
name: logstash
|
||||
version: 0.8.1
|
||||
version: 0.8.2
|
||||
appVersion: 6.3.2
|
||||
sources:
|
||||
- https://www.docker.elastic.co
|
||||
|
||||
@@ -130,7 +130,10 @@ spec:
|
||||
- name: pipeline
|
||||
configMap:
|
||||
name: {{ template "logstash.fullname" . }}-pipeline
|
||||
|
||||
{{- if not .Values.persistence.enabled }}
|
||||
- name: data
|
||||
emptyDir: {}
|
||||
{{- else }}
|
||||
volumeClaimTemplates:
|
||||
- metadata:
|
||||
name: data
|
||||
@@ -147,3 +150,4 @@ spec:
|
||||
storageClassName: "{{ .Values.persistence.storageClass }}"
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
|
||||
Reference in New Issue
Block a user