blob: 055e690d85c201b75ca89851792c6348314fb762 [file] [log] [blame]
David Bainbridgecd30e542019-05-31 20:52:56 +00001# Copyright 2019-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
15apiVersion: apps/v1
16kind: Deployment
17metadata:
18 name: adapter-open-onu
19 namespace: {{ .Release.Namespace }}
20spec:
21 replicas: {{ .Values.replicas.adapter_open_onu }}
22 selector:
23 matchLabels:
24 app: adapter-open-onu
25 template:
26 metadata:
27 labels:
28 app: adapter-open-onu
29 annotations:
30 cni: "calico"
31 spec:
32 containers:
33 - name: adapter-open-onu
34 image: {{ tpl .Values.images.adapter_open_onu.registry . }}{{ tpl .Values.images.adapter_open_onu.repository . }}:{{ tpl .Values.images.adapter_open_onu.tag . }}
35 imagePullPolicy: {{ tpl .Values.images.adapter_open_onu.pullPolicy . }}
36 args:
37 - "/voltha/adapters/brcm_openomci_onu/main.py"
38 - "--verbose"
39 - "--kafka_adapter={{ .Values.services.kafka.adapter.service }}:{{ .Values.services.kafka.adapter.port }}"
40 - "--kafka_cluster={{ .Values.services.kafka.cluster.service }}:{{ .Values.services.kafka.cluster.port }}"
41 - "--core_topic=rwcore"
42 - "--backend=etcd"
43 - "--etcd={{ .Values.services.etcd.service }}:{{ .Values.services.etcd.port }}"