summaryrefslogtreecommitdiffstats
path: root/kubernetes/dcaegen2/components/dcae-ves-openapi-manager/templates/deployment.yaml
diff options
context:
space:
mode:
authorMichal Banka <michal.banka@nokia.com>2021-03-18 13:09:19 +0100
committerKrzysztof Opasiak <k.opasiak@samsung.com>2021-03-22 17:48:11 +0000
commit254c71bd2cff5cbb1d22789a4e3b92703ff7d212 (patch)
treec98cafd9000e1848987fe80dc8c5cac97f314b17 /kubernetes/dcaegen2/components/dcae-ves-openapi-manager/templates/deployment.yaml
parentd037d55e677a693af8df24942c2b0e0381d7e331 (diff)
[DCAEGEN2] Fix configmap mounting
Removed 'subPath' field which blocks reloading mounted file when Configmap changes. Signed-off-by: Michal Banka <michal.banka@nokia.com> Change-Id: I78614e06542392a7c39cd650fd5ae1f98108c365 Issue-ID: DCAEGEN2-2576
Diffstat (limited to 'kubernetes/dcaegen2/components/dcae-ves-openapi-manager/templates/deployment.yaml')
-rw-r--r--kubernetes/dcaegen2/components/dcae-ves-openapi-manager/templates/deployment.yaml3
1 files changed, 1 insertions, 2 deletions
diff --git a/kubernetes/dcaegen2/components/dcae-ves-openapi-manager/templates/deployment.yaml b/kubernetes/dcaegen2/components/dcae-ves-openapi-manager/templates/deployment.yaml
index b244d91ff5..929b380962 100644
--- a/kubernetes/dcaegen2/components/dcae-ves-openapi-manager/templates/deployment.yaml
+++ b/kubernetes/dcaegen2/components/dcae-ves-openapi-manager/templates/deployment.yaml
@@ -51,8 +51,7 @@ spec:
value: {{ .Values.schemaMap.directory }}/{{ .Values.schemaMap.filename }}
volumeMounts:
- name: schema-map
- mountPath: {{ .Values.schemaMap.directory }}/{{ .Values.schemaMap.filename }}
- subPath: {{ .Values.schemaMap.filename }}
+ mountPath: {{ .Values.schemaMap.directory }}
volumes:
- name: schema-map
configMap: