Matteo Scandolo | 2cc3d81 | 2018-08-13 10:21:43 -0700 | [diff] [blame] | 1 | --- |
Matteo Scandolo | 2cc3d81 | 2018-08-13 10:21:43 -0700 | [diff] [blame] | 2 | # Copyright 2018-present Open Networking Foundation |
| 3 | # |
| 4 | # Licensed under the Apache License, Version 2.0 (the "License"); |
| 5 | # you may not use this file except in compliance with the License. |
| 6 | # You may obtain a copy of the License at |
| 7 | # |
| 8 | # http://www.apache.org/licenses/LICENSE-2.0 |
| 9 | # |
| 10 | # Unless required by applicable law or agreed to in writing, software |
| 11 | # distributed under the License is distributed on an "AS IS" BASIS, |
| 12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 13 | # See the License for the specific language governing permissions and |
| 14 | # limitations under the License. |
| 15 | |
Matteo Scandolo | 5628d4b | 2021-01-11 11:46:12 -0800 | [diff] [blame] | 16 | apiVersion: apps/v1 |
Matteo Scandolo | 2cc3d81 | 2018-08-13 10:21:43 -0700 | [diff] [blame] | 17 | kind: Deployment |
| 18 | metadata: |
| 19 | name: kafkacat |
| 20 | labels: |
| 21 | app: kafkacat |
| 22 | chart: kafkacat |
| 23 | release: {{ .Release.Name }} |
| 24 | heritage: {{ .Release.Service }} |
| 25 | spec: |
| 26 | replicas: 1 |
| 27 | selector: |
| 28 | matchLabels: |
| 29 | app: kafkacat |
| 30 | release: {{ .Release.Name }} |
| 31 | template: |
| 32 | metadata: |
| 33 | labels: |
| 34 | app: kafkacat |
| 35 | release: {{ .Release.Name }} |
| 36 | spec: |
| 37 | containers: |
| 38 | - name: kafkacat |
Zack Williams | d9d6b35 | 2018-10-05 07:53:30 -0700 | [diff] [blame] | 39 | image: {{ .Values.global.registry }}{{ .Values.image.repository }}:{{ tpl .Values.image.tag . }} |
| 40 | imagePullPolicy: {{ .Values.image.pullPolicy }} |
Matteo Scandolo | 2cc3d81 | 2018-08-13 10:21:43 -0700 | [diff] [blame] | 41 | command: ["/bin/bash", "-c", "sleep 86400"] |