Updates of function test for f-release
[nonrtric.git] / test / simulator-group / chartmuseum / app.yaml
1 #  ============LICENSE_START===============================================
2 #  Copyright (C) 2021 Nordix Foundation. All rights reserved.
3 #  ========================================================================
4 #  Licensed under the Apache License, Version 2.0 (the "License");
5 #  you may not use this file except in compliance with the License.
6 #  You may obtain a copy of the License at
7 #
8 #       http://www.apache.org/licenses/LICENSE-2.0
9 #
10 #  Unless required by applicable law or agreed to in writing, software
11 #  distributed under the License is distributed on an "AS IS" BASIS,
12 #  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 #  See the License for the specific language governing permissions and
14 #  limitations under the License.
15 #  ============LICENSE_END=================================================
16 #
17
18 apiVersion: apps/v1
19 kind: Deployment
20 metadata:
21   name: $CHART_MUS_APP_NAME
22   namespace: $KUBE_SIM_NAMESPACE
23   labels:
24     run: $CHART_MUS_APP_NAME
25     autotest: CHARTMUS
26 spec:
27   replicas: 1
28   selector:
29     matchLabels:
30       run: $CHART_MUS_APP_NAME
31   template:
32     metadata:
33       labels:
34         run: $CHART_MUS_APP_NAME
35         autotest: CHARTMUS
36     spec:
37       containers:
38       - name: $CHART_MUS_APP_NAME
39         image: $CHART_MUS_IMAGE
40         imagePullPolicy: $KUBE_IMAGE_PULL_POLICY
41         ports:
42         - name: http
43           containerPort: $CHART_MUS_INTERNAL_PORT
44         env:
45         - name: STORAGE
46           value: "local"
47         - name: STORAGE_LOCAL_ROOTDIR
48           value: ${CHART_MUS_CHART_CONTR_CHARTS}
49         - name: DEBUG
50           value: "1"
51 # Selector will be set when pod is started first time
52       nodeSelector:
53