X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=test%2Fsimulator-group%2Fsdnc%2Fapp2.yaml;h=aaa29e8d0305b5810196852f74f5f252483e696a;hb=refs%2Fchanges%2F89%2F10889%2F2;hp=3a0f5973e97c9d6dcf1448a322b9a490defbb0ea;hpb=520b912bce8eebb3e272c9ccfa3378b01dfd200b;p=nonrtric.git diff --git a/test/simulator-group/sdnc/app2.yaml b/test/simulator-group/sdnc/app2.yaml index 3a0f5973..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 @@ -57,12 +74,14 @@ spec: 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 @@ -80,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 @@ -95,4 +114,3 @@ spec: value: 'gamma' - name: MYSQL_DATABASE value: 'sdnctl' -