From 83d10d5106a1af1b5e488d3bfb6806c064b03574 Mon Sep 17 00:00:00 2001 From: Lester Claudio Date: Wed, 15 Nov 2023 22:23:53 -0700 Subject: [PATCH 1/2] Changing range to if on ImageStream manifest --- .../manuela-tst/templates/messaging/messaging-is.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/charts/datacenter/manuela-tst/templates/messaging/messaging-is.yaml b/charts/datacenter/manuela-tst/templates/messaging/messaging-is.yaml index a900bebf8..2e4a3cfac 100644 --- a/charts/datacenter/manuela-tst/templates/messaging/messaging-is.yaml +++ b/charts/datacenter/manuela-tst/templates/messaging/messaging-is.yaml @@ -11,7 +11,7 @@ spec: importPolicy: {} referencePolicy: type: Local -{{- range .Values.iot_consumer.built_tags }} +{{- if .Values.iot_consumer.built_tags }} - name: {{ . | quote }} from: kind: DockerImage From 442943852c841dfeb64f81e4d82427728865ed22 Mon Sep 17 00:00:00 2001 From: Lester Claudio Date: Wed, 15 Nov 2023 22:25:45 -0700 Subject: [PATCH 2/2] Changing range to if on ImageStream manifest for StormShift --- .../manuela-stormshift/templates/messaging/messaging-is.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/charts/factory/manuela-stormshift/templates/messaging/messaging-is.yaml b/charts/factory/manuela-stormshift/templates/messaging/messaging-is.yaml index bd7a60c06..0e9ca9d56 100644 --- a/charts/factory/manuela-stormshift/templates/messaging/messaging-is.yaml +++ b/charts/factory/manuela-stormshift/templates/messaging/messaging-is.yaml @@ -14,7 +14,7 @@ spec: importPolicy: {} referencePolicy: type: Local -{{- range .Values.iot_consumer.built_tags }} +{{- if .Values.iot_consumer.built_tags }} - name: {{ $.Values.iot_consumer.tag | quote }} from: kind: DockerImage