blob: 6e187b4527b5ab96b3208978e1cf7e050d59b823 [file] [log] [blame]
Gopinath Tagete2dff4d2018-03-15 17:22:28 -07001# Copyright 2017-present Open Networking Foundation
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# The dashd deployment
17#
18apiVersion: apps/v1beta1
19kind: Deployment
20metadata:
21 name: dashd
22 namespace: {{ .Values.global.namespace }}
23 serviceAccountName: {{ .Values.global.namespace }}-serviceaccount
24spec:
25 replicas: 1
26 template:
27 metadata:
28 labels:
29 app: dashd
30 spec:
31 serviceAccountName: {{ .Values.global.namespace }}-serviceaccount
32 containers:
33 - name: dashd
Matteo Scandolof6c28df2018-05-08 11:44:05 -070034 image: {{ .Values.dashdImage }}
35 imagePullPolicy: {{ .Values.imagePullPolicy }}
Gopinath Tagete2dff4d2018-03-15 17:22:28 -070036 env:
37 - name: NAMESPACE
38 valueFrom:
39 fieldRef:
40 fieldPath: metadata.namespace
41 args:
Gopinath Taget5e49fe32018-06-25 17:02:05 -070042{{ include "voltha-dashd.cmd" . | indent 8 }}
43
Gopinath Tagete2dff4d2018-03-15 17:22:28 -070044---
45#
46# The shovel deployment
47#
48apiVersion: apps/v1beta1
49kind: Deployment
50metadata:
51 name: shovel
52 namespace: {{ .Values.global.namespace }}
53 serviceAccountName: {{ .Values.global.namespace }}-serviceaccount
54spec:
55 replicas: 1
56 template:
57 metadata:
58 labels:
59 app: shovel
60 spec:
61 serviceAccountName: {{ .Values.global.namespace }}-serviceaccount
62 containers:
63 - name: shovel
Matteo Scandolof6c28df2018-05-08 11:44:05 -070064 image: {{ .Values.shovelImage }}
65 imagePullPolicy: {{ .Values.imagePullPolicy }}
Gopinath Tagete2dff4d2018-03-15 17:22:28 -070066 env:
67 - name: NAMESPACE
68 valueFrom:
69 fieldRef:
70 fieldPath: metadata.namespace
71 args:
Gopinath Taget5e49fe32018-06-25 17:02:05 -070072{{ include "voltha-shovel.cmd" . | indent 8 }}