Gopinath Taget | e2dff4d | 2018-03-15 17:22:28 -0700 | [diff] [blame] | 1 | # 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 | # |
| 18 | apiVersion: apps/v1beta1 |
| 19 | kind: Deployment |
| 20 | metadata: |
| 21 | name: dashd |
| 22 | namespace: {{ .Values.global.namespace }} |
| 23 | serviceAccountName: {{ .Values.global.namespace }}-serviceaccount |
| 24 | spec: |
| 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 Scandolo | f6c28df | 2018-05-08 11:44:05 -0700 | [diff] [blame] | 34 | image: {{ .Values.dashdImage }} |
| 35 | imagePullPolicy: {{ .Values.imagePullPolicy }} |
Gopinath Taget | e2dff4d | 2018-03-15 17:22:28 -0700 | [diff] [blame] | 36 | env: |
| 37 | - name: NAMESPACE |
| 38 | valueFrom: |
| 39 | fieldRef: |
| 40 | fieldPath: metadata.namespace |
| 41 | args: |
Gopinath Taget | 5e49fe3 | 2018-06-25 17:02:05 -0700 | [diff] [blame] | 42 | {{ include "voltha-dashd.cmd" . | indent 8 }} |
| 43 | |
Gopinath Taget | e2dff4d | 2018-03-15 17:22:28 -0700 | [diff] [blame] | 44 | --- |
| 45 | # |
| 46 | # The shovel deployment |
| 47 | # |
| 48 | apiVersion: apps/v1beta1 |
| 49 | kind: Deployment |
| 50 | metadata: |
| 51 | name: shovel |
| 52 | namespace: {{ .Values.global.namespace }} |
| 53 | serviceAccountName: {{ .Values.global.namespace }}-serviceaccount |
| 54 | spec: |
| 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 Scandolo | f6c28df | 2018-05-08 11:44:05 -0700 | [diff] [blame] | 64 | image: {{ .Values.shovelImage }} |
| 65 | imagePullPolicy: {{ .Values.imagePullPolicy }} |
Gopinath Taget | e2dff4d | 2018-03-15 17:22:28 -0700 | [diff] [blame] | 66 | env: |
| 67 | - name: NAMESPACE |
| 68 | valueFrom: |
| 69 | fieldRef: |
| 70 | fieldPath: metadata.namespace |
| 71 | args: |
Gopinath Taget | 5e49fe3 | 2018-06-25 17:02:05 -0700 | [diff] [blame] | 72 | {{ include "voltha-shovel.cmd" . | indent 8 }} |