commit | 254c71bd2cff5cbb1d22789a4e3b92703ff7d212 | [log] [tgz] |
---|---|---|
author | Michal Banka <michal.banka@nokia.com> | Thu Mar 18 13:09:19 2021 +0100 |
committer | Krzysztof Opasiak <k.opasiak@samsung.com> | Mon Mar 22 17:48:11 2021 +0000 |
tree | c98cafd9000e1848987fe80dc8c5cac97f314b17 | |
parent | d037d55e677a693af8df24942c2b0e0381d7e331 [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
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 b244d91..929b380 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 @@ 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:
diff --git a/kubernetes/dcaegen2/components/dcae-ves-openapi-manager/values.yaml b/kubernetes/dcaegen2/components/dcae-ves-openapi-manager/values.yaml index 66978bd..2209feb 100644 --- a/kubernetes/dcaegen2/components/dcae-ves-openapi-manager/values.yaml +++ b/kubernetes/dcaegen2/components/dcae-ves-openapi-manager/values.yaml
@@ -31,7 +31,7 @@ schemaMap: filename: "schema-map.json" - directory: "/app" + directory: "/app/mappings" liveness: initialDelaySeconds: 30