Use upstream flower docker image

This commit is contained in:
David Burke 2023-10-03 21:19:35 -04:00
parent 3099e678fc
commit 78eb71eb37

View file

@ -17,7 +17,6 @@ spec:
annotations: annotations:
checksum/secret: {{ include (print $.Template.BasePath "/secrets.yaml") . | sha256sum }} checksum/secret: {{ include (print $.Template.BasePath "/secrets.yaml") . | sha256sum }}
checksum/configmap: {{ include (print $.Template.BasePath "/configmap.yaml") . | sha256sum }} checksum/configmap: {{ include (print $.Template.BasePath "/configmap.yaml") . | sha256sum }}
tag: "{{ .Values.image.tag }}"
{{- if .Values.flower.podAnnotations }} {{- if .Values.flower.podAnnotations }}
{{- include "common.tplvalues.render" ( dict "value" .Values.flower.podAnnotations "context" $ ) | nindent 8 }} {{- include "common.tplvalues.render" ( dict "value" .Values.flower.podAnnotations "context" $ ) | nindent 8 }}
{{- end }} {{- end }}
@ -25,7 +24,7 @@ spec:
{{- include "django.selectorLabels" . | nindent 8 }} {{- include "django.selectorLabels" . | nindent 8 }}
app.kubernetes.io/component: flower app.kubernetes.io/component: flower
spec: spec:
{{- with .Values.imagePullSecrets }} {{- with .Values.flower.imagePullSecrets }}
imagePullSecrets: imagePullSecrets:
{{- toYaml . | nindent 8 }} {{- toYaml . | nindent 8 }}
{{- end }} {{- end }}
@ -38,8 +37,8 @@ spec:
{{- end }} {{- end }}
securityContext: securityContext:
{{- toYaml .Values.securityContext | nindent 12 }} {{- toYaml .Values.securityContext | nindent 12 }}
image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}" image: "{{ .Values.flower.image.repository }}:{{ .Values.flower.image.tag }}"
imagePullPolicy: {{ .Values.image.pullPolicy }} imagePullPolicy: {{ .Values.flower.image.pullPolicy }}
ports: ports:
- containerPort: 5555 - containerPort: 5555
name: http name: http