-
Notifications
You must be signed in to change notification settings - Fork 3
/
genieapp.yaml
166 lines (161 loc) · 3.21 KB
/
genieapp.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
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
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
apiVersion: v1
kind: Service
metadata:
annotations:
openshift.io/generated-by: OpenShiftNewApp
labels:
app: genieapp
app.kubernetes.io/component: genieapp
app.kubernetes.io/instance: genieapp
name: genieapp
spec:
ports:
- name: 8000-tcp
port: 8000
protocol: TCP
targetPort: 8000
selector:
app: genieapp
type: ClusterIP
---
apiVersion: apps.openshift.io/v1
kind: DeploymentConfig
metadata:
annotations:
openshift.io/generated-by: OpenShiftNewApp
labels:
app: genieapp
app.kubernetes.io/component: genieapp
app.kubernetes.io/instance: genieapp
name: genieapp
spec:
replicas: 1
selector:
app: genieapp
strategy:
rollingUpdate:
maxSurge: 25%
maxUnavailable: 25%
type: Rolling
template:
metadata:
annotations:
openshift.io/generated-by: OpenShiftNewApp
labels:
app: genieapp
spec:
containers:
- image: genieapp:latest
name: genieapp
ports:
- containerPort: 8000
protocol: TCP
triggers:
- type: ConfigChange
- imageChangeParams:
automatic: true
containerNames:
- genieapp
from:
kind: ImageStreamTag
name: genieapp:latest
type: ImageChange
---
apiVersion: build.openshift.io/v1
kind: BuildConfig
metadata:
annotations:
openshift.io/generated-by: OpenShiftNewApp
labels:
app: genieapp
app.kubernetes.io/component: genieapp
app.kubernetes.io/instance: genieapp
name: genieapp
spec:
resources:
limits:
memory: 1Gi
output:
to:
kind: ImageStreamTag
name: genieapp:latest
source:
git:
uri: https://github.com/csc-training/GenieWebApp.jl
type: Git
strategy:
dockerStrategy:
from:
kind: ImageStreamTag
name: julia:1.6-buster
type: Docker
triggers:
- type: ImageChange
- type: ConfigChange
- github:
secretReference:
name: webhooksecret
type: GitHub
---
apiVersion: image.openshift.io/v1
kind: ImageStream
metadata:
annotations:
openshift.io/generated-by: OpenShiftNewApp
labels:
app: genieapp
app.kubernetes.io/component: genieapp
app.kubernetes.io/instance: genieapp
name: genieapp
spec:
lookupPolicy:
local: true
---
apiVersion: image.openshift.io/v1
kind: ImageStream
metadata:
annotations:
openshift.io/generated-by: OpenShiftNewApp
labels:
app: genieapp
app.kubernetes.io/component: genieapp
app.kubernetes.io/instance: genieapp
name: julia
spec:
lookupPolicy:
local: false
tags:
- annotations:
openshift.io/imported-from: julia:1.6-buster
from:
kind: DockerImage
name: julia:1.6-buster
generation: 2
importPolicy:
importMode: Legacy
name: 1.6-buster
referencePolicy:
type: Source
---
apiVersion: route.openshift.io/v1
kind: Route
metadata:
annotations:
openshift.io/host.generated: "true"
labels:
app: genieapp
app.kubernetes.io/component: genieapp
app.kubernetes.io/instance: genieapp
name: genieapp
spec:
host: ""
port:
targetPort: 8000-tcp
tls:
insecureEdgeTerminationPolicy: Redirect
termination: edge
to:
kind: Service
name: genieapp
weight: 100
wildcardPolicy: None