Declare sourceStrategy.

This commit is contained in:
Ralph Bean 2018-05-05 01:35:50 +00:00
parent 5e0e6d1881
commit ca8442787c

View file

@ -10,7 +10,7 @@ spec:
source: source:
dockerfile: |- dockerfile: |-
# See imagestream.yml for the definition # See imagestream.yml for the definition
FROM greenwave-upstream FROM greenwave-upstream:latest
# Become root during build to chmod # Become root during build to chmod
USER 0 USER 0
@ -30,6 +30,12 @@ spec:
USER 1001 USER 1001
strategy: strategy:
type: Docker type: Docker
sourceStrategy:
from:
kind: "ImageStreamTag"
name: "greenwave-upstream:latest"
triggers:
- type: ImageChange
output: output:
to: to:
kind: ImageStreamTag kind: ImageStreamTag