forked from keedio/openshift-cassandra
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtemplate.yaml
41 lines (38 loc) · 896 Bytes
/
template.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
apiVersion: v1
kind: Template
metadata:
name: openstack-cassandra-build
annotations:
description: Cassandra builder for openstack-poc
tags: logs,poc,openstack,cassandra
parameters:
- name: SOURCE_REPOSITORY_URL
description: URL of the Git repository Dockerfile
required: true
value: https://github.com/nabbdl/openshift-cassandra.git
- name: OBJECT_NAME_PREFIX
description: Name prefix for each object created
required: true
value: cassandra-openstack-poc
objects:
- apiVersion: v1
kind: ImageStream
metadata:
name: ${OBJECT_NAME_PREFIX}
- apiVersion: v1
kind: BuildConfig
metadata:
name: ${OBJECT_NAME_PREFIX}
spec:
strategy:
type: Docker
source:
type: Git
git:
uri: ${SOURCE_REPOSITORY_URL}
output:
to:
kind: ImageStream
name: ${OBJECT_NAME_PREFIX}
triggers:
- type: ConfigChange