2016-12-05 22:19:05 +00:00
|
|
|
apiVersion: v1
|
|
|
|
kind: Template
|
|
|
|
objects:
|
|
|
|
- apiVersion: v1
|
|
|
|
kind: ImageStream
|
|
|
|
metadata:
|
2016-12-08 22:32:58 +00:00
|
|
|
name: frontend
|
2016-12-05 22:19:05 +00:00
|
|
|
labels:
|
|
|
|
app: frontend
|
|
|
|
- apiVersion: v1
|
|
|
|
kind: BuildConfig
|
|
|
|
metadata:
|
2016-12-08 22:32:58 +00:00
|
|
|
name: frontend
|
2016-12-05 22:19:05 +00:00
|
|
|
labels:
|
|
|
|
app: frontend
|
|
|
|
spec:
|
|
|
|
output:
|
|
|
|
to:
|
|
|
|
kind: ImageStreamTag
|
2017-01-04 00:19:16 +00:00
|
|
|
name: frontend:${TARGET_IMAGE_STREAM_TAG}
|
2016-12-05 22:19:05 +00:00
|
|
|
source:
|
2017-01-02 23:18:48 +00:00
|
|
|
type: Binary
|
2017-01-02 23:53:12 +00:00
|
|
|
binary: {}
|
2016-12-05 22:19:05 +00:00
|
|
|
strategy:
|
|
|
|
type: Source
|
|
|
|
sourceStrategy:
|
|
|
|
from:
|
|
|
|
kind: ImageStreamTag
|
|
|
|
name: ruby:2.3
|
|
|
|
namespace: openshift
|
2017-01-04 00:19:16 +00:00
|
|
|
- description: The image stream tag to build to.
|
|
|
|
displayName: Target image stream tag
|
|
|
|
name: TARGET_IMAGE_STREAM_TAG
|