summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKrzysztof Opasiak <k.opasiak@samsung.com>2020-04-23 20:41:47 +0000
committerGerrit Code Review <gerrit@onap.org>2020-04-23 20:41:47 +0000
commite24e6d4e66fecbb9f5ef8e45517a6e6646648990 (patch)
tree0d6a7f2bacd640fbac567512d707e8930b1abb5c
parenta3210a7f84335fe4626ccd52ff5d633e7fd3c70e (diff)
parentdabbea5fd5cb1b0d2a4d4a487cc73f8e3de56e1c (diff)
Merge "[DMaaP MR] Remove "lost+found" in kafka PVC"
-rw-r--r--kubernetes/dmaap/components/message-router/charts/message-router-kafka/templates/statefulset.yaml1
1 files changed, 1 insertions, 0 deletions
diff --git a/kubernetes/dmaap/components/message-router/charts/message-router-kafka/templates/statefulset.yaml b/kubernetes/dmaap/components/message-router/charts/message-router-kafka/templates/statefulset.yaml
index 4ba11ec8c7..0163fbd5d4 100644
--- a/kubernetes/dmaap/components/message-router/charts/message-router-kafka/templates/statefulset.yaml
+++ b/kubernetes/dmaap/components/message-router/charts/message-router-kafka/templates/statefulset.yaml
@@ -82,6 +82,7 @@ spec:
- sh
- -exec
- |
+ rm -rf '/var/lib/kafka/data/lost+found';
chown -R 1000:0 /var/lib/kafka/data;
image: "{{ .Values.busyBoxRepository }}/{{ .Values.busyBoxImage }}"
imagePullPolicy: {{ .Values.global.pullPolicy | default .Values.pullPolicy }}