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 }}
 
  43         - name: {{ .Chart.Name }}
 
  44           image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}"
 
  45           imagePullPolicy: {{ .Values.image.pullPolicy }}
 
  51           - name: CONFIG_BINDING_SERVICE
 
  52             value: config-binding-service      
 
  62             {{- toYaml .Values.resources | nindent 12 }}
 
  65               mountPath: /etc/datalake
 
  69             name: {{ .Release.Name }}-dcae-datalake-feeder-configmap
 
  70       {{- with .Values.nodeSelector }}
 
  72         {{- toYaml . | nindent 8 }}
 
  74     {{- with .Values.affinity }}
 
  76         {{- toYaml . | nindent 8 }}
 
  78     {{- with .Values.tolerations }}
 
  80         {{- toYaml . | nindent 8 }}