Fixes wrt. deployment YAML.
[ealt-edge.git] / mecm / mepm / applcm / resources / deployment / applcm-broker-deployment.yaml
1 # Copyright 2020 Huawei Technologies Co., Ltd.
2 #
3 # Licensed under the Apache License, Version 2.0 (the "License");
4 # you may not use this file except in compliance with the License.
5 # You may obtain a copy of the License at
6 #
7 #     http://www.apache.org/licenses/LICENSE-2.0
8 #
9 # Unless required by applicable law or agreed to in writing, software
10 # distributed under the License is distributed on an "AS IS" BASIS,
11 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 # See the License for the specific language governing permissions and
13 # limitations under the License.
14
15 # yamllint disable
16 apiVersion: apps/v1
17 kind: Deployment
18 metadata:
19   annotations:
20     kompose.cmd: kompose convert
21     kompose.version: 1.21.0 (992df58d8)
22   creationTimestamp: null
23   labels:
24     io.kompose.service: applcm-broker
25   name: applcm-broker
26 spec:
27   replicas: 1
28   selector:
29     matchLabels:
30       io.kompose.service: applcm-broker
31   strategy: {}
32   template:
33     metadata:
34       annotations:
35         kompose.cmd: kompose convert
36         kompose.version: 1.21.0 (992df58d8)
37       creationTimestamp: null
38       labels:
39         io.kompose.service: applcm-broker
40     spec:
41       containers:
42       - env:
43         - name: ADDRESS
44           value: 0.0.0.0:8081
45         - name: HELM_PLUGIN_PORT
46           value: "50051"
47         - name: KUBERNETES_PLUGIN_PORT
48           value: "50052"
49         - name: LOGFILE_PATH
50           value: /go/release/logfile
51         - name: LOGGER_LEVEL
52           value: info
53         - name: MYSQL_DATABASE
54           value: db
55         - name: MYSQL_PASSWORD
56           value: password
57         - name: MYSQL_ROOT_PASSWORD
58           value: password
59         - name: MYSQL_USER
60           value: root
61         - name: PACKAGE_ARTIFACT_PATH
62           value: /Artifacts/Deployment/
63         - name: PACKAGE_PATH
64           value: /go/release/application/packages/
65         image: ealtedge/applcm-broker:latest
66         imagePullPolicy: ""
67         name: applcm-broker
68         ports:
69         - containerPort: 8081
70         resources: {}
71       restartPolicy: Always
72       serviceAccountName: ""
73       volumes: null
74 status: {}
75
76 # yamllint enable