correcting the Syndesis-DV template file to make use of DevTools flag to set the usage of image streams
syndesis.io/component: syndesis-dv
spec:
tags:
- - from:
+ {{if .Syndesis.Spec.DevSupport}}
+ - name: "latest"
+ from:
+ kind: ImageStreamTag
+ name: '{{ .Images.Syndesis.Komodo }}:latest'
+ {{else}}
+ - name: "{{ .Syndesis.Spec.Components.Komodo.Tag }}"
+ from:
kind: DockerImage
name: '{{.Syndesis.Spec.Registry}}/{{ .Images.KomodoImagesPrefix }}/{{ .Images.Syndesis.Komodo }}:{{ .Syndesis.Spec.Components.Komodo.Tag }}'
importPolicy:
scheduled: true
- name: "{{ .Syndesis.Spec.Components.Komodo.Tag }}"
+ {{end}}
