update domain name as per test setup
[ealt-edge.git] / mep / mepagent / SampleApp / mepagent.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
16 # mep pod
17 ---
18 apiVersion: v1
19 kind: Pod
20 metadata:
21   name: mepagent
22   namespace: mep
23   labels:
24     app: mepagent
25 spec:
26   containers:
27     - image: ealtedge/mepagent:latest
28       imagePullPolicy: Always
29       name: mepagent-pod
30       env:
31         - name: CA_CERT_DOMAIN_NAME
32           value: "www.ealtedge.org"
33         - name: SSL_ROOT
34           value: "/etc/mepagent_ssl/trust.cer"
35         - name: APP_SSL_MODE
36           value: "0"
37       ports:
38         - containerPort: 80
39       #volumeMounts:
40         #- name: mepagentssl
41           #mountPath: "/etc/mepagent_ssl"
42           #readOnly: true
43   #volumes:
44     #- name: mepagentssl
45       #secret:
46         #secretName: mepagentssl-secret