-
Notifications
You must be signed in to change notification settings - Fork 1
/
build-template.yaml
49 lines (46 loc) · 1011 Bytes
/
build-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
42
43
44
45
46
47
48
49
---
apiVersion: template.openshift.io/v1
kind: Template
metadata:
annotations:
description: bitwarden-k8s-secrets-manager build
name: bitwarden-k8s-secrets-manager-build
parameters:
- name: KOPF_S2I_IMAGE
value: quay.io/redhat-cop/python-kopf-s2i:v1.37
- name: GIT_REPO
value: https://github.com/rhpds/bitwarden-k8s-secrets-manager.git
- name: NAME
value: bitwarden-k8s-secrets-manager
objects:
- apiVersion: image.openshift.io/v1
kind: ImageStream
metadata:
name: ${NAME}
spec:
lookupPolicy:
local: false
- apiVersion: v1
kind: BuildConfig
metadata:
name: ${NAME}
spec:
output:
to:
kind: ImageStreamTag
name: ${NAME}:latest
postCommit: {}
resources: {}
runPolicy: Serial
source:
git:
uri: ${GIT_REPO}
ref: master
strategy:
type: Source
dockerStrategy:
dockerfilePath: Containerfile
from:
kind: DockerImage
name: ${KOPF_S2I_IMAGE}
triggers: []