From ce3b461a1e9d10bf11dd39062234e6a795862a80 Mon Sep 17 00:00:00 2001 From: Sylvain Desbureaux Date: Tue, 10 Mar 2020 08:45:42 +0100 Subject: [DMaaP DR] Enable persistence for Claims Currently, persistence was not enabled, preventing creation of relevant PV/PVC for DMaaP DR. Setting this persistence as it should be the normal behavior Issue-ID: OOM-2332 Signed-off-by: Sylvain Desbureaux Change-Id: Ic36c0956d40333529d6325af38e33a9bc6838946 --- kubernetes/dmaap/components/dmaap-dr-node/templates/pv-event.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'kubernetes/dmaap/components/dmaap-dr-node/templates/pv-event.yaml') 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 c1d8c8fdb3..3f2d39e0d1 100644 --- a/kubernetes/dmaap/components/dmaap-dr-node/templates/pv-event.yaml +++ b/kubernetes/dmaap/components/dmaap-dr-node/templates/pv-event.yaml @@ -31,7 +31,7 @@ metadata: labels: app: {{ include "common.fullname" $global }} chart: "{{ $global.Chart.Name }}-{{ $global.Chart.Version | replace "+" "_" }}" - release: "{{ include "common.release" . }}" + release: "{{ include "common.release" $global }}" heritage: "{{ $global.Release.Service }}" name: {{ include "common.fullname" $global }}-event-logs spec: @@ -42,7 +42,7 @@ spec: persistentVolumeReclaimPolicy: {{ $global.Values.persistence.volumeReclaimPolicy }} storageClassName: "{{ include "common.fullname" $global }}-data-event-logs" hostPath: - path: {{ $global.Values.global.persistence.mountPath | default $global.Values.persistence.mountPath }}/{{ include "common.release" . }}/{{ $global.Values.persistence.eventLogsMountSubPath }}-{{$i}} + path: {{ $global.Values.global.persistence.mountPath | default $global.Values.persistence.mountPath }}/{{ include "common.release" $global }}/{{ $global.Values.persistence.eventLogsMountSubPath }}-{{$i}} {{if ne $i (int $global.Values.replicaCount) }} --- {{- end -}} -- cgit 1.2.3-korg