Skip to content

Commit

Permalink
Fix issue #1042 regarding pvc deploys when component is not enabled
Browse files Browse the repository at this point in the history
Signed-off-by: fsschmitt <492108+fsschmitt@users.noreply.github.com>
  • Loading branch information
fsschmitt authored and tarokkk committed Feb 24, 2020
1 parent 9a80386 commit 5bb9c69
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion thanos/templates/compact-persistentvolumeclaim.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{{- if .Values.compact.persistentVolumeClaim }}
{{- if and .Values.compact.enabled .Values.compact.persistentVolumeClaim }}
{{- $pvc := .Values.compact.persistentVolumeClaim -}}
apiVersion: v1
kind: PersistentVolumeClaim
Expand Down
2 changes: 1 addition & 1 deletion thanos/templates/store-persistentvolumeclaim.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{{- if .Values.store.persistentVolumeClaim }}
{{- if and .Values.store.enabled .Values.store.persistentVolumeClaim }}
{{- $pvc := .Values.store.persistentVolumeClaim -}}
apiVersion: v1
kind: PersistentVolumeClaim
Expand Down

0 comments on commit 5bb9c69

Please sign in to comment.