Skip to content

Commit

Permalink
add imagepullsecret and pod scheduling values (kubecost#2511)
Browse files Browse the repository at this point in the history
  • Loading branch information
srpomeroy authored Aug 21, 2023
1 parent c60c1e1 commit 587f42c
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions cost-analyzer/templates/federator-deployment-template.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -92,4 +92,29 @@ spec:
{{- if .Values.federatedETL.federator.extraVolumes }}
{{- toYaml .Values.federatedETL.federator.extraVolumes | nindent 8 }}
{{- end }}
{{- if .Values.imagePullSecrets }}
imagePullSecrets:
{{ toYaml .Values.imagePullSecrets | indent 2 }}
{{- end }}
{{- if .Values.federatedETL.federator.priority }}
{{- if .Values.federatedETL.federator.priority.enabled }}
{{- if .Values.federatedETL.federator.priority.name }}
priorityClassName: {{ .Values.federatedETL.federator.priority.name }}
{{- else }}
priorityClassName: {{ template "federator.fullname" . }}-priority
{{- end }}
{{- end }}
{{- end }}
{{- with .Values.federatedETL.federator.nodeSelector }}
nodeSelector:
{{- toYaml . | nindent 8 }}
{{- end }}
{{- with .Values.federatedETL.federator.tolerations }}
tolerations:
{{- toYaml . | nindent 8 }}
{{- end }}
{{- with .Values.federatedETL.federator.affinity }}
affinity:
{{- toYaml . | nindent 8 }}
{{- end }}
{{- end }}

0 comments on commit 587f42c

Please sign in to comment.