diff options
author | Alexis de Talhouƫt <alexis.de_talhouet@bell.ca> | 2018-10-10 20:42:23 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2018-10-10 20:42:23 +0000 |
commit | fb92def620109a06d97c17f218e8097352d9f3c7 (patch) | |
tree | c4cccd9bbbc884de8dc43658efda6b9ac59b4835 /kubernetes/aai/charts/aai-sparky-be | |
parent | 6715c7d660166739690c8be28d56790c45deded7 (diff) | |
parent | 279c43e8c0a4ef77f0038e5078e66058c4664d20 (diff) |
Merge "Adding mount points for roles and users config"
Diffstat (limited to 'kubernetes/aai/charts/aai-sparky-be')
-rw-r--r-- | kubernetes/aai/charts/aai-sparky-be/templates/configmap.yaml | 2 | ||||
-rw-r--r-- | kubernetes/aai/charts/aai-sparky-be/templates/deployment.yaml | 8 |
2 files changed, 10 insertions, 0 deletions
diff --git a/kubernetes/aai/charts/aai-sparky-be/templates/configmap.yaml b/kubernetes/aai/charts/aai-sparky-be/templates/configmap.yaml index 055c5ba116..50238aaea3 100644 --- a/kubernetes/aai/charts/aai-sparky-be/templates/configmap.yaml +++ b/kubernetes/aai/charts/aai-sparky-be/templates/configmap.yaml @@ -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 diff --git a/kubernetes/aai/charts/aai-sparky-be/templates/deployment.yaml b/kubernetes/aai/charts/aai-sparky-be/templates/deployment.yaml index 3ecbd80340..6a992dd618 100644 --- a/kubernetes/aai/charts/aai-sparky-be/templates/deployment.yaml +++ b/kubernetes/aai/charts/aai-sparky-be/templates/deployment.yaml @@ -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 }} |