blob: 523136d1eda4357af1f5ee05c531ff243a246349 [file] [log] [blame]
---
# Copyright 2018-present Open Networking Foundation
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
apiVersion: apps/v1
kind: Deployment
metadata:
name: voltha-kafka-dump
labels:
app: voltha-kafka-dump
chart: voltha-kafka-dump
release: {{ .Release.Name }}
heritage: {{ .Release.Service }}
spec:
replicas: 1
selector:
matchLabels:
app: voltha-kafka-dump
release: {{ .Release.Name }}
template:
metadata:
labels:
app: voltha-kafka-dump
release: {{ .Release.Name }}
spec:
containers:
- name: voltha-kafka-dump
image: {{ .Values.global.registry }}{{ .Values.image.repository }}:{{ tpl .Values.image.tag . }}
imagePullPolicy: {{ .Values.image.pullPolicy }}
command: ["/bin/bash", "-c", "sleep 86400"]