Merge "[COMMON] Add limits to timescale db"
[oom.git] / kubernetes / dcaegen2 / components / dcae-ves-openapi-manager / templates / deployment.yaml
index b244d91..1c6e359 100644 (file)
@@ -51,12 +51,12 @@ 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 }}
+      serviceAccountName: {{ include "common.fullname" (dict "suffix" "read" "dot" . )}}
       volumes:
         - name: schema-map
           configMap:
-            name: dcae-external-repo-configmap-schema-map
+            name: {{ include "common.release" . }}-dcae-external-repo-configmap-schema-map
             defaultMode: 0755
             items:
               - key: {{ .Values.schemaMap.filename }}