Skip to content

Commit

Permalink
Merge pull request #715 from melinda-mytra/helm_values_fix
Browse files Browse the repository at this point in the history
fix `brokerJob` specs to use `imagePullPolicy` and image `tag` from values.yaml
  • Loading branch information
kate-goldenring authored Nov 5, 2024
2 parents f12e5a2 + 2d391ca commit 409d78d
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions deployment/helm/templates/onvif-configuration.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -139,12 +139,12 @@ spec:
spec:
containers:
- name: {{ .Values.onvif.configuration.name }}-broker
image: {{ printf "%s:%s" .Values.onvif.configuration.brokerJob.image.repository .Values.onvif.configuration.brokerPod.image.tag | quote }}
image: {{ printf "%s:%s" .Values.onvif.configuration.brokerJob.image.repository .Values.onvif.configuration.brokerJob.image.tag | quote }}
{{- if .Values.onvif.configuration.brokerJob.command }}
command:
{{- toYaml .Values.onvif.configuration.brokerJob.command | nindent 14 }}
{{- end }}
{{- with .Values.onvif.configuration.pullPolicy }}
{{- with .Values.onvif.configuration.brokerJob.image.pullPolicy }}
imagePullPolicy: {{ . }}
{{- end }}
{{- if .Values.onvif.configuration.brokerJob.env }}
Expand Down
4 changes: 2 additions & 2 deletions deployment/helm/templates/opcua-configuration.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -106,12 +106,12 @@ spec:
spec:
containers:
- name: {{ .Values.opcua.configuration.name }}-broker
image: {{ printf "%s:%s" .Values.opcua.configuration.brokerJob.image.repository .Values.opcua.configuration.brokerPod.image.tag | quote }}
image: {{ printf "%s:%s" .Values.opcua.configuration.brokerJob.image.repository .Values.opcua.configuration.brokerJob.image.tag | quote }}
{{- if .Values.opcua.configuration.brokerJob.command }}
command:
{{- toYaml .Values.opcua.configuration.brokerJob.command | nindent 14 }}
{{- end }}
{{- with .Values.opcua.configuration.pullPolicy }}
{{- with .Values.opcua.configuration.brokerJob.image.pullPolicy }}
imagePullPolicy: {{ . }}
{{- end }}
{{- if .Values.opcua.configuration.brokerJob.env }}
Expand Down
4 changes: 2 additions & 2 deletions deployment/helm/templates/udev-configuration.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -72,12 +72,12 @@ spec:
spec:
containers:
- name: {{ .Values.udev.configuration.name }}-broker
image: {{ printf "%s:%s" .Values.udev.configuration.brokerJob.image.repository .Values.udev.configuration.brokerPod.image.tag | quote }}
image: {{ printf "%s:%s" .Values.udev.configuration.brokerJob.image.repository .Values.udev.configuration.brokerJob.image.tag | quote }}
{{- if .Values.udev.configuration.brokerJob.command }}
command:
{{- toYaml .Values.udev.configuration.brokerJob.command | nindent 14 }}
{{- end }}
{{- with .Values.udev.configuration.pullPolicy }}
{{- with .Values.udev.configuration.brokerJob.image.pullPolicy }}
imagePullPolicy: {{ . }}
{{- end }}
resources:
Expand Down

0 comments on commit 409d78d

Please sign in to comment.