You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

45 lines
1.2 KiB

---
kind: Template
apiVersion: v1
metadata:
name: "${NAME}-imagestream-template"
objects:
- kind: ImageStream
apiVersion: v1
metadata:
name: "${NAME}"
spec:
tags:
- name: "${OUTPUT_IMAGE_TAG}"
annotations:
from:
kind: "${SOURCE_IMAGE_KIND}"
name: "${SOURCE_IMAGE_NAME}:${SOURCE_IMAGE_TAG}"
importPolicy:
scheduled: true
parameters:
- name: NAME
displayName: Name
description: The name assigned to all of the frontend objects defined in this template. You should keep this as default unless your know what your doing.
required: true
value: postgresql
- name: OUTPUT_IMAGE_TAG
displayName: Output Image Tag
description: The tag given to the built image.
required: true
value: latest
- name: SOURCE_IMAGE_KIND
displayName: Source Image Kind
description: The 'kind' (type) of the source image; typically ImageStreamTag, or DockerImage.
required: true
value: DockerImage
- name: SOURCE_IMAGE_NAME
displayName: Source Image Name
description: The name of the source image.
required: true
value: registry.access.redhat.com/rhscl/postgresql-95-rhel7
- name: SOURCE_IMAGE_TAG
displayName: Source Image Tag
description: The tag of the source image.
required: true
value: '9.5'