+# ============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
containers:
- name: $SDNC_APP_NAME
image: $SDNC_A1_CONTROLLER_IMAGE
- imagePullPolicy: Never
+ imagePullPolicy: $KUBE_IMAGE_PULL_POLICY
ports:
- name: http
containerPort: $SDNC_INTERNAL_PORT
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
---
kind: Deployment
metadata:
name: $SDNC_DB_APP_NAME
- namespace: $KUBE_NONRTRIC_NAMESPACE
+ namespace: $KUBE_SDNC_NAMESPACE
labels:
run: $SDNC_DB_APP_NAME
autotest: SDNC
containers:
- name: $SDNC_DB_APP_NAME
image: $SDNC_DB_IMAGE
- imagePullPolicy: Never
+ imagePullPolicy: $KUBE_IMAGE_PULL_POLICY
ports:
- name: http
containerPort: 3306