[DMAAP DR] Fix PV,PVC error 41/104141/1
authorefiacor <fiachra.corcoran@est.tech>
Mon, 23 Mar 2020 09:45:23 +0000 (09:45 +0000)
committerefiacor <fiachra.corcoran@est.tech>
Mon, 23 Mar 2020 09:45:29 +0000 (09:45 +0000)
Change-Id: I12ad57dff925485a48ce512c9e6c3531dc99deec
Signed-off-by: efiacor <fiachra.corcoran@est.tech>
Issue-ID: OOM-2332

kubernetes/dmaap/components/dmaap-dr-node/templates/pv-event.yaml

index 3f2d39e..c7ecb07 100644 (file)
@@ -21,7 +21,7 @@
 ---
 {{- $global := . }}
 {{- if and $global.Values.persistence.enabled (not $global.Values.persistence.existingClaim) }}
-{{- if eq "True" (include "common.needPV" .) -}}
+{{- if (include "common.needPV" .) -}}
 {{- range $i := until (int $global.Values.replicaCount)}}
 kind: PersistentVolume
 apiVersion: v1