X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=test%2Fsimulator-group%2Fsdnc%2Fapp2.yaml;h=aaa29e8d0305b5810196852f74f5f252483e696a;hb=d03286355ba8f11aacabbee178fe5cb084be7b51;hp=116ce6623d623dd6e2a1a4da4560e5c5e5d33dcd;hpb=be9a07faf8fbc1030404bbc71f409eb5e19736ba;p=nonrtric.git diff --git a/test/simulator-group/sdnc/app2.yaml b/test/simulator-group/sdnc/app2.yaml index 116ce662..aaa29e8d 100644 --- a/test/simulator-group/sdnc/app2.yaml +++ b/test/simulator-group/sdnc/app2.yaml @@ -1,8 +1,25 @@ +# ============LICENSE_START======================================================= +# Copyright (C) 2020-2023 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 @@ -53,14 +70,18 @@ spec: value: 'true' - name: A1_TRUSTSTORE_PASSWORD value: $SDNC_A1_TRUSTSTORE_PASSWORD + - name: AAI_TRUSTSTORE_PASSWORD + value: 'changeit' command: - /opt/onap/sdnc/bin/startODL.sh + --- + 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 @@ -78,7 +99,7 @@ spec: containers: - name: $SDNC_DB_APP_NAME image: $SDNC_DB_IMAGE - imagePullPolicy: Never + imagePullPolicy: $KUBE_IMAGE_PULL_POLICY ports: - name: http containerPort: 3306 @@ -93,4 +114,3 @@ spec: value: 'gamma' - name: MYSQL_DATABASE value: 'sdnctl' -