summaryrefslogtreecommitdiffstats
path: root/kubernetes/dcaegen2/components/dcae-ves-openapi-manager
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
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')
-rw-r--r--kubernetes/dcaegen2/components/dcae-ves-openapi-manager/templates/deployment.yaml3
-rw-r--r--kubernetes/dcaegen2/components/dcae-ves-openapi-manager/values.yaml2
2 files changed, 2 insertions, 3 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:
diff --git a/kubernetes/dcaegen2/components/dcae-ves-openapi-manager/values.yaml b/kubernetes/dcaegen2/components/dcae-ves-openapi-manager/values.yaml
index 66978bdc0f..2209feb729 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 @@ externalServices:
schemaMap:
filename: "schema-map.json"
- directory: "/app"
+ directory: "/app/mappings"
liveness:
initialDelaySeconds: 30