Commit a45fbd20 authored by David McKay's avatar David McKay

fix: support no persistence with emptyDir

parent d00f0d5a
......@@ -29,6 +29,10 @@ spec:
securityContext:
{{- toYaml .Values.data.podSecurityContext | nindent 8 }}
volumes:
{{ if not .Values.data.persistence.enabled }}
- name: {{ include "influxdb-enterprise.fullname" . }}-data-data
emptyDir: {}
{{ end }}
- name: config
configMap:
name: {{ include "influxdb-enterprise.fullname" . }}-data
......
......@@ -29,6 +29,10 @@ spec:
securityContext:
{{- toYaml .Values.meta.podSecurityContext | nindent 8 }}
volumes:
{{ if not .Values.meta.persistence.enabled }}
- name: {{ include "influxdb-enterprise.fullname" . }}-meta-data
emptyDir: {}
{{ end }}
- name: config
configMap:
name: {{ include "influxdb-enterprise.fullname" . }}-meta
......
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