X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=test%2Fsimulator-group%2Fsdnc%2Fapp.yaml;h=361d6ccd520ba696d704cc0efd560f5b3c3d0a62;hb=23d69b4a0fac41be58676c006867332c9fac6071;hp=cd170f6edfcf0d6cd162ff10b216f04c20692a4f;hpb=4f7f0cda2f07f62dcbb2e371fc09764b2337a8e9;p=nonrtric.git diff --git a/test/simulator-group/sdnc/app.yaml b/test/simulator-group/sdnc/app.yaml index cd170f6e..361d6ccd 100644 --- a/test/simulator-group/sdnc/app.yaml +++ b/test/simulator-group/sdnc/app.yaml @@ -1,8 +1,25 @@ +# ============LICENSE_START======================================================= +# Copyright (C) 2020-2022 Nordix Foundation +# ================================================================================ +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# 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. +# +# SPDX-License-Identifier: Apache-2.0 +# ============LICENSE_END========================================================= apiVersion: apps/v1 kind: Deployment metadata: name: $SDNC_APP_NAME - namespace: $KUBE_NONRTRIC_NAMESPACE + namespace: $KUBE_SDNC_NAMESPACE labels: run: $SDNC_APP_NAME autotest: SDNC @@ -20,7 +37,7 @@ spec: containers: - name: $SDNC_APP_NAME image: $SDNC_A1_CONTROLLER_IMAGE - imagePullPolicy: Never + imagePullPolicy: $KUBE_IMAGE_PULL_POLICY ports: - name: http containerPort: $SDNC_INTERNAL_PORT @@ -35,6 +52,10 @@ spec: value: 'true' - name: A1_TRUSTSTORE_PASSWORD value: $SDNC_A1_TRUSTSTORE_PASSWORD + - name: ODL_ADMIN_USERNAME + value: $SDNC_USER + - name: ODL_ADMIN_PASSWORD + value: $SDNC_PWD command: - /opt/onap/sdnc/bin/startODL.sh --- @@ -42,7 +63,7 @@ apiVersion: apps/v1 kind: Deployment metadata: name: $SDNC_DB_APP_NAME - namespace: $KUBE_NONRTRIC_NAMESPACE + namespace: $KUBE_SDNC_NAMESPACE labels: run: $SDNC_DB_APP_NAME autotest: SDNC @@ -60,7 +81,7 @@ spec: containers: - name: $SDNC_DB_APP_NAME image: $SDNC_DB_IMAGE - imagePullPolicy: Never + imagePullPolicy: $KUBE_IMAGE_PULL_POLICY ports: - name: http containerPort: 3306