Skip to content

Commit

Permalink
Merge pull request kubecost#718 from kubecost/cw-706-pushgateway-pvc-…
Browse files Browse the repository at this point in the history
…bugfix

add check for pushgateway enabled in pushgateway-pvc template yaml
  • Loading branch information
Calvin Wang authored Jan 7, 2021
2 parents eae90d1 + 8f79c24 commit 6aa86de
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
{{- if .Values.pushgateway.enabled -}}
{{- if .Values.pushgateway.persistentVolume.enabled -}}
{{- if not .Values.pushgateway.persistentVolume.existingClaim -}}
apiVersion: v1
Expand Down Expand Up @@ -28,3 +29,4 @@ spec:
storage: "{{ .Values.pushgateway.persistentVolume.size }}"
{{- end -}}
{{- end -}}
{{- end -}}

0 comments on commit 6aa86de

Please sign in to comment.