summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKrzysztof Opasiak <k.opasiak@samsung.com>2020-02-17 13:03:18 +0000
committerGerrit Code Review <gerrit@onap.org>2020-02-17 13:03:18 +0000
commit1a3678797eae08ff2acd5c02aa25a21be5328d1a (patch)
treec357e81b2ebf90bc24e02beabd8afabcd6755252
parent4d5d90ebbf6d6d36f6d12803208527f51541957f (diff)
parent218e89799bf02ce580173e47a02d02f16ac5f6be (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 30e4c77576..aa97e32a9a 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
@@ -75,6 +75,7 @@ spec:
- -exec
- |
chown -R 1000:1000 /opt/kafka/data;
+ rm -rf '/opt/kafka/data/lost+found';
cp /opt/kafka/tmpconfig/server.properties /opt/kafka/config/;
chown 1000:1000 /opt/kafka/config/server.properties;
cd /opt/kafka/config;