From cf00caeb6637b120227684f07bb7ae3efbcf60a0 Mon Sep 17 00:00:00 2001 From: efiacor Date: Mon, 23 Mar 2020 09:45:23 +0000 Subject: [DMAAP DR] Fix PV,PVC error Change-Id: I12ad57dff925485a48ce512c9e6c3531dc99deec Signed-off-by: efiacor Issue-ID: OOM-2332 --- kubernetes/dmaap/components/dmaap-dr-node/templates/pv-event.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'kubernetes/dmaap/components/dmaap-dr-node') 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 -- cgit 1.2.3-korg