1 # ============LICENSE_START==========================================
2 # ===================================================================
3 # Copyright (c) 2020 QCT
5 # Licensed under the Apache License, Version 2.0 (the "License");
6 # you may not use this file except in compliance with the License.
7 # You may obtain a copy of the License at
9 # http://www.apache.org/licenses/LICENSE-2.0
11 # Unless required by applicable law or agreed to in writing, software
12 # distributed under the License is distributed on an "AS IS" BASIS,
13 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 # See the License for the specific language governing permissions and
15 # limitations under the License.
16 #============LICENSE_END============================================
21 name: {{ include "dcae-datalake-feeder.fullname" . }}
22 namespace: {{ .Release.Namespace }}
24 {{ include "dcae-datalake-feeder.labels" . | indent 4 }}
26 hostname: dcae-datalake-feeder-feeder
27 replicas: {{ .Values.replicaCount }}
30 app.kubernetes.io/name: {{ include "dcae-datalake-feeder.name" . }}
31 app.kubernetes.io/instance: {{ .Release.Name }}
35 app.kubernetes.io/name: {{ include "dcae-datalake-feeder.name" . }}
36 app.kubernetes.io/instance: {{ .Release.Name }}
38 {{- with .Values.imagePullSecrets }}
40 {{- toYaml . | nindent 8 }}
44 - /root/job_complete.py
47 - {{ .Release.Name }}-dcae-datalake-feeder-dbinit-job
53 fieldPath: metadata.namespace
54 image: "{{ .Values.global.readinessRepository }}/{{ .Values.global.readinessImage }}"
55 imagePullPolicy: {{ .Values.global.pullPolicy | default .Values.pullPolicy }}
56 name: datalake-readiness
58 - name: {{ .Chart.Name }}
59 image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}"
60 imagePullPolicy: {{ .Values.image.pullPolicy }}
66 - name: CONFIG_BINDING_SERVICE
67 value: config-binding-service
77 {{- toYaml .Values.resources | nindent 12 }}
80 mountPath: /etc/datalake
84 name: {{ .Release.Name }}-dcae-datalake-feeder-configmap
85 {{- with .Values.nodeSelector }}
87 {{- toYaml . | nindent 8 }}
89 {{- with .Values.affinity }}
91 {{- toYaml . | nindent 8 }}
93 {{- with .Values.tolerations }}
95 {{- toYaml . | nindent 8 }}