summaryrefslogtreecommitdiffstats
path: root/kubernetes/aai/charts/aai-graphadmin
diff options
context:
space:
mode:
authorKajur, Harish (vk250x) <vk250x@att.com>2018-10-03 11:41:42 -0400
committerKajur, Harish (vk250x) <vk250x@att.com>2018-10-08 11:10:25 -0400
commit5386b5afbe087b0a8d9bd2aa270b5b2b80bb7820 (patch)
tree245c7650fd77633e186ec071ab84aaab78dcca73 /kubernetes/aai/charts/aai-graphadmin
parentb1cc7ae3d635d0d54bb57928dbf85398fa414196 (diff)
Mount the realm properites into containers
Fix a bug where the realm configmap was created but it wasn't being mounted into the containers so any changes being done is not being reflected in the pods Issue-ID: AAI-1700 Change-Id: I987c80a5f74ee3be5aaec6ffc9990efbae0f4c8d Signed-off-by: Kajur, Harish (vk250x) <vk250x@att.com>
Diffstat (limited to 'kubernetes/aai/charts/aai-graphadmin')
-rw-r--r--kubernetes/aai/charts/aai-graphadmin/resources/config/realm.properties1
-rw-r--r--kubernetes/aai/charts/aai-graphadmin/templates/deployment.yaml3
2 files changed, 3 insertions, 1 deletions
diff --git a/kubernetes/aai/charts/aai-graphadmin/resources/config/realm.properties b/kubernetes/aai/charts/aai-graphadmin/resources/config/realm.properties
index 573cd2a11d..3c20359474 100644
--- a/kubernetes/aai/charts/aai-graphadmin/resources/config/realm.properties
+++ b/kubernetes/aai/charts/aai-graphadmin/resources/config/realm.properties
@@ -16,7 +16,6 @@
# See the License for the specific language governing permissions and
# limitations under the License.
# ============LICENSE_END=========================================================
-
# format : username: password[,rolename ...]
# default username/password: AAI/AAI, MSO/MSO, ModelLoader/ModelLoader...
AAI:OBF:1gfr1ev31gg7,admin
diff --git a/kubernetes/aai/charts/aai-graphadmin/templates/deployment.yaml b/kubernetes/aai/charts/aai-graphadmin/templates/deployment.yaml
index 5b23fa6064..869eac0cc7 100644
--- a/kubernetes/aai/charts/aai-graphadmin/templates/deployment.yaml
+++ b/kubernetes/aai/charts/aai-graphadmin/templates/deployment.yaml
@@ -96,6 +96,9 @@ spec:
- mountPath: /opt/app/aai-graphadmin/resources/localhost-access-logback.xml
name: {{ include "common.fullname" . }}-localhost-access-log-conf
subPath: localhost-access-logback.xml
+ - mountPath: /opt/app/aai-graphadmin/resources/etc/auth/realm.properties
+ name: {{ include "common.fullname" . }}-realm-conf
+ subPath: realm.properties
- mountPath: /opt/app/aai-graphadmin/resources/application.properties
name: {{ include "common.fullname" . }}-springapp-conf
subPath: application.properties