Adding mount points for roles and users config 01/70201/1
authorArul.Nambi <arul.nambi@amdocs.com>
Wed, 10 Oct 2018 20:14:55 +0000 (16:14 -0400)
committerArul.Nambi <arul.nambi@amdocs.com>
Wed, 10 Oct 2018 20:15:32 +0000 (16:15 -0400)
Issue-ID: PORTAL-434
Change-Id: I93818de4551a0ea4f883226e1b4f50613c4d9bd0
Signed-off-by: Arul.Nambi <arul.nambi@amdocs.com>
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 }}