Merge "mecm-mepm uninstall playbook added"
[ealt-edge.git] / ocd / infra / playbooks / roles / applcm / files / deploy / helm-plugin-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: helm-plugin
25   name: helm-plugin
26 spec:
27   replicas: 1
28   selector:
29     matchLabels:
30       io.kompose.service: helm-plugin
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: helm-plugin
40     spec:
41       containers:
42       - env:
43         - name: CERTIFICATE_PATH
44         - name: CHART_PATH
45           value: /go/release/charts/
46         - name: HELM_PLUGIN_PORT
47           value: "50051"
48         - name: KEY_PATH
49         - name: KUBECONFIG_DIR_PATH
50           value: /go/release/kubeconfig/
51         - name: LOGFILE_PATH
52           value: /go/release/logfile
53         - name: LOGGER_LEVEL
54           value: info
55         - name: RELEASE_NAMESPACE
56           value: default
57         image: ealtedge/helmplugin:latest
58         imagePullPolicy: ""
59         name: helmplugin
60         ports:
61         - containerPort: 50051
62         resources: {}
63         volumeMounts:
64           - mountPath: /go/release/kubeconfig/
65             name: config-dir
66       restartPolicy: Always
67       serviceAccountName: ""
68       volumes:
69         - name: config-dir
70           hostPath:
71             path: /kubeconfig
72 status: {}
73
74 # yamllint enable