From 5386b5afbe087b0a8d9bd2aa270b5b2b80bb7820 Mon Sep 17 00:00:00 2001 From: "Kajur, Harish (vk250x)" Date: Wed, 3 Oct 2018 11:41:42 -0400 Subject: 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) --- kubernetes/aai/charts/aai-resources/resources/config/realm.properties | 1 - kubernetes/aai/charts/aai-resources/templates/deployment.yaml | 3 +++ 2 files changed, 3 insertions(+), 1 deletion(-) (limited to 'kubernetes/aai/charts/aai-resources') diff --git a/kubernetes/aai/charts/aai-resources/resources/config/realm.properties b/kubernetes/aai/charts/aai-resources/resources/config/realm.properties index 2aa3e01a3a..2813908770 100644 --- a/kubernetes/aai/charts/aai-resources/resources/config/realm.properties +++ b/kubernetes/aai/charts/aai-resources/resources/config/realm.properties @@ -11,7 +11,6 @@ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. - # format : username: password[,rolename ...] # default username/password: AAI/AAI, MSO/MSO, ModelLoader/ModelLoader... AAI:OBF:1gfr1ev31gg7,admin diff --git a/kubernetes/aai/charts/aai-resources/templates/deployment.yaml b/kubernetes/aai/charts/aai-resources/templates/deployment.yaml index 04549dfb94..2b124f01d4 100644 --- a/kubernetes/aai/charts/aai-resources/templates/deployment.yaml +++ b/kubernetes/aai/charts/aai-resources/templates/deployment.yaml @@ -472,6 +472,9 @@ spec: - mountPath: /opt/app/aai-resources/resources/localhost-access-logback.xml name: {{ include "common.fullname" . }}-localhost-access-log-conf subPath: localhost-access-logback.xml + - mountPath: /opt/app/aai-resources/resources/etc/auth/realm.properties + name: {{ include "common.fullname" . }}-realm-conf + subPath: realm.properties - mountPath: /opt/app/aai-resources/resources/aaf/org.onap.aai.keyfile name: {{ include "common.fullname" . }}-aaf-certs subPath: org.onap.aai.keyfile -- cgit 1.2.3-korg