Skip to content

Commit

Permalink
Fix issue banzaicloud#1042 regarding pvc deploys when component is no…
Browse files Browse the repository at this point in the history
…t enabled

Signed-off-by: fsschmitt <492108+fsschmitt@users.noreply.github.com>
  • Loading branch information
fsschmitt committed Feb 18, 2020
1 parent 09d78c8 commit f788b0d
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 f788b0d

Please sign in to comment.