summaryrefslogtreecommitdiffstats
path: root/kubernetes/dmaap/components/dmaap-dr-node/templates
diff options
context:
space:
mode:
authorKrzysztof Opasiak <k.opasiak@samsung.com>2020-03-24 18:08:56 +0000
committerGerrit Code Review <gerrit@onap.org>2020-03-24 18:08:56 +0000
commit7471f8163e385952480f128947a5e3a9af9d42af (patch)
tree0abde0b6a6d4342763c48a1ccafb7eff1751c7fb /kubernetes/dmaap/components/dmaap-dr-node/templates
parentc05c4ed247dfd4b40d0fbe413e1d898d72197aa1 (diff)
parentcf00caeb6637b120227684f07bb7ae3efbcf60a0 (diff)
Merge "[DMAAP DR] Fix PV,PVC error"
Diffstat (limited to 'kubernetes/dmaap/components/dmaap-dr-node/templates')
-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