Merge "Adding mount points for roles and users config"
authorAlexis de Talhouët <alexis.de_talhouet@bell.ca>
Wed, 10 Oct 2018 20:42:23 +0000 (20:42 +0000)
committerGerrit Code Review <gerrit@onap.org>
Wed, 10 Oct 2018 20:42:23 +0000 (20:42 +0000)
kubernetes/aai/charts/aai-sparky-be/templates/configmap.yaml
kubernetes/aai/charts/aai-sparky-be/templates/deployment.yaml

index 055c5ba..50238aa 100644 (file)
@@ -29,6 +29,8 @@ data:
 {{ tpl (.Files.Glob "resources/config/application-oxm-default.properties").AsConfig . | indent 2 }}
 {{ tpl (.Files.Glob "resources/config/application-oxm-override.properties").AsConfig . | indent 2 }}
 {{ tpl (.Files.Glob "resources/config/application-oxm-schema-prod.properties").AsConfig . | indent 2 }}
+{{ tpl (.Files.Glob "resources/config/roles.config").AsConfig . | indent 2 }}
+{{ tpl (.Files.Glob "resources/config/users.config").AsConfig . | indent 2 }}
 ---
 apiVersion: v1
 kind: ConfigMap
index 3ecbd80..6a992dd 100644 (file)
@@ -98,6 +98,14 @@ spec:
         - mountPath:  /opt/app/sparky/config/application-oxm-schema-prod.properties
           name: {{ include "common.fullname" . }}-properties
           subPath: application-oxm-schema-prod.properties
+
+        - mountPath:  /opt/app/sparky/config/roles.config
+          name: {{ include "common.fullname" . }}-properties
+          subPath: roles.config
+
+         mountPath:  /opt/app/sparky/config/users.config
+          name: {{ include "common.fullname" . }}-properties
+          subPath: users.config
         
         ports:
         - containerPort: {{ .Values.service.internalPort }}