|
@ -32,19 +32,25 @@ spec: |
|
|
helm.sh/chart: {{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }} |
|
|
helm.sh/chart: {{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }} |
|
|
app.kubernetes.io/instance: {{ .Release.Name }} |
|
|
app.kubernetes.io/instance: {{ .Release.Name }} |
|
|
app.kubernetes.io/component: filer |
|
|
app.kubernetes.io/component: filer |
|
|
{{ with .Values.podLabels }} |
|
|
|
|
|
|
|
|
{{- with .Values.podLabels }} |
|
|
{{- toYaml . | nindent 8 }} |
|
|
{{- toYaml . | nindent 8 }} |
|
|
{{- end }} |
|
|
{{- end }} |
|
|
{{- with .Values.filer.podLabels }} |
|
|
{{- with .Values.filer.podLabels }} |
|
|
{{- toYaml . | nindent 8 }} |
|
|
{{- toYaml . | nindent 8 }} |
|
|
{{- end }} |
|
|
{{- end }} |
|
|
annotations: |
|
|
annotations: |
|
|
{{ with .Values.podAnnotations }} |
|
|
|
|
|
|
|
|
{{- with .Values.podAnnotations }} |
|
|
{{- toYaml . | nindent 8 }} |
|
|
{{- toYaml . | nindent 8 }} |
|
|
{{- end }} |
|
|
{{- end }} |
|
|
{{- with .Values.filer.podAnnotations }} |
|
|
{{- with .Values.filer.podAnnotations }} |
|
|
{{- toYaml . | nindent 8 }} |
|
|
{{- toYaml . | nindent 8 }} |
|
|
{{- end }} |
|
|
{{- end }} |
|
|
|
|
|
{{- if .Values.filer.s3.existingConfigSecret }} |
|
|
|
|
|
{{- $configSecret := (lookup "v1" "Secret" .Release.Namespace .Values.filer.s3.existingConfigSecret) | default dict }} |
|
|
|
|
|
checksum/s3config: {{ $configSecret | toYaml | sha256sum }} |
|
|
|
|
|
{{- else }} |
|
|
|
|
|
checksum/s3config: {{ include (print .Template.BasePath "/s3-secret.yaml") . | sha256sum }} |
|
|
|
|
|
{{- end }} |
|
|
spec: |
|
|
spec: |
|
|
restartPolicy: {{ default .Values.global.restartPolicy .Values.filer.restartPolicy }} |
|
|
restartPolicy: {{ default .Values.global.restartPolicy .Values.filer.restartPolicy }} |
|
|
{{- if .Values.filer.affinity }} |
|
|
{{- if .Values.filer.affinity }} |
|
|