From: efiacor Date: Mon, 23 Mar 2020 09:45:23 +0000 (+0000) Subject: [DMAAP DR] Fix PV,PVC error X-Git-Tag: 6.0.0~269^2 X-Git-Url: https://gerrit.onap.org/r/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F41%2F104141%2F1;p=oom.git [DMAAP DR] Fix PV,PVC error Change-Id: I12ad57dff925485a48ce512c9e6c3531dc99deec Signed-off-by: efiacor Issue-ID: OOM-2332 --- diff --git a/kubernetes/dmaap/components/dmaap-dr-node/templates/pv-event.yaml b/kubernetes/dmaap/components/dmaap-dr-node/templates/pv-event.yaml index 3f2d39e0d1..c7ecb07452 100644 --- a/kubernetes/dmaap/components/dmaap-dr-node/templates/pv-event.yaml +++ b/kubernetes/dmaap/components/dmaap-dr-node/templates/pv-event.yaml @@ -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