From ee986363cc1d789206aeb569c8cfdd4647b55f15 Mon Sep 17 00:00:00 2001 From: Tim McCarthy Date: Thu, 13 Feb 2020 15:30:50 -0800 Subject: [PATCH] Added ImageStream object to the openshift build template --- build/aro/openshift-app-build-template.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/build/aro/openshift-app-build-template.yml b/build/aro/openshift-app-build-template.yml index 25f8d5130..fc9952015 100644 --- a/build/aro/openshift-app-build-template.yml +++ b/build/aro/openshift-app-build-template.yml @@ -32,6 +32,16 @@ objects: type: Source successfulBuildsHistoryLimit: 5 triggers: [] +- apiVersion: image.openshift.io/v1 + kind: ImageStream + metadata: + labels: + build: ${APPLICATION_NAME} + template: ${TEMPLATE_NAME} + name: ${APPLICATION_NAME} + spec: + lookupPolicy: + local: false parameters: - description: The name for the application. displayName: Application Name