Skip to content

Commit

Permalink
add check for pushgateway enabled in pushgateway-pvc template yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
calvinwang committed Jan 5, 2021
1 parent 3562638 commit 8f79c24
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 8f79c24

Please sign in to comment.