From: Jakub Latusek Date: Mon, 28 Sep 2020 13:52:40 +0000 (+0200) Subject: [VNFSDK] Change volume to volumeMounts X-Git-Tag: 7.0.0~186^2 X-Git-Url: https://gerrit.onap.org/r/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F62%2F113262%2F1;p=oom.git [VNFSDK] Change volume to volumeMounts Volume field is undefined in container specification Signed-off-by: Jakub Latusek Issue-ID: OOM-2562 Change-Id: I369495febca6673cdd742c8456dd01a68e9d1780 --- diff --git a/kubernetes/vnfsdk/templates/deployment.yaml b/kubernetes/vnfsdk/templates/deployment.yaml index 06ce21274e..60edcffbbf 100644 --- a/kubernetes/vnfsdk/templates/deployment.yaml +++ b/kubernetes/vnfsdk/templates/deployment.yaml @@ -73,7 +73,7 @@ spec: name: {{ include "common.name" . }} resources: {{ include "common.resources" . | indent 12 }} - volumes: + volumeMounts: - mountPath: /service/webapps/ROOT/WEB-INF/classes/mybatis/configuration/configuration.xml name: init-data subPath: configuration.xml