This repository has been archived by the owner on Jul 24, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3
/
template.yml
76 lines (75 loc) · 1.48 KB
/
template.yml
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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
apiVersion: v1
kind: Template
metadata:
name: http-endpoints
annotations:
openshift.io/display-name: "HTTP Endpoints"
description: |-
HTTP/S endpoints
objects:
- apiVersion: v1
kind: ImageStream
metadata:
name: httpendpoints
spec:
dockerImageRepository: syndesisqe/httpendpoints
- apiVersion: v1
kind: DeploymentConfig
metadata:
labels:
app: httpendpoints
name: httpendpoints
spec:
replicas: 1
selector:
app: httpendpoints
template:
metadata:
labels:
app: httpendpoints
spec:
containers:
- name: http-endpoints
image: ' '
ports:
- containerPort: 8080
name: http
- containerPort: 8443
name: https
triggers:
- imageChangeParams:
automatic: true
containerNames:
- http-endpoints
from:
kind: ImageStreamTag
name: httpendpoints:latest
type: ImageChange
- apiVersion: v1
kind: Service
metadata:
name: http-svc
labels:
app: httpendpoints
spec:
ports:
- port: 8080
name: http-port
protocol: TCP
targetPort: 8080
selector:
deploymentconfig: httpendpoints
- apiVersion: v1
kind: Service
metadata:
name: https-svc
labels:
app: httpendpoints
spec:
ports:
- port: 8443
name: https-port
protocol: TCP
targetPort: 8443
selector:
deploymentconfig: httpendpoints