summaryrefslogtreecommitdiffstats
path: root/kubernetes/dmaap/components/dmaap-dr-node
diff options
context:
space:
mode:
authorefiacor <fiachra.corcoran@est.tech>2020-03-23 09:45:23 +0000
committerefiacor <fiachra.corcoran@est.tech>2020-03-23 09:45:29 +0000
commitcf00caeb6637b120227684f07bb7ae3efbcf60a0 (patch)
tree233f5a1ddc10aba510462741fbcddb72f4e91e8c /kubernetes/dmaap/components/dmaap-dr-node
parent0d2be209aff1c72a013d7d8982988358d6e94e66 (diff)
[DMAAP DR] Fix PV,PVC error
Change-Id: I12ad57dff925485a48ce512c9e6c3531dc99deec Signed-off-by: efiacor <fiachra.corcoran@est.tech> Issue-ID: OOM-2332
Diffstat (limited to 'kubernetes/dmaap/components/dmaap-dr-node')
-rw-r--r--kubernetes/dmaap/components/dmaap-dr-node/templates/pv-event.yaml2
1 files changed, 1 insertions, 1 deletions
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