File tree Expand file tree Collapse file tree 1 file changed +41
-0
lines changed Expand file tree Collapse file tree 1 file changed +41
-0
lines changed Original file line number Diff line number Diff line change @@ -216,3 +216,44 @@ objects:
216
216
from :
217
217
kind : ImageStreamTag
218
218
name : ${APPNAME}-ubimicro:latest # ImageStreamTag for registry.access.redhat.com/ubi9/ubi-micro
219
+ # #############################################################################
220
+ # Deployment and Route object specs
221
+ - apiVersion : apps/v1
222
+ kind : Deployment
223
+ metadata :
224
+ name : jlinked-app
225
+ spec :
226
+ replicas : 1
227
+ selector :
228
+ matchLabels :
229
+ app : jlinked-app
230
+ template :
231
+ metadata :
232
+ labels :
233
+ app : jlinked-app
234
+ spec :
235
+ containers :
236
+ - name : jlinked-app-container
237
+ image : lightweight-image:latest
238
+ imagePullPolicy : IfNotPresent
239
+ ports :
240
+ - containerPort : 8080
241
+ - apiVersion : v1
242
+ kind : Service
243
+ metadata :
244
+ name : jlinked-app-service
245
+ spec :
246
+ selector :
247
+ app : jlinked-app
248
+ ports :
249
+ - protocol : TCP
250
+ port : 80
251
+ targetPort : 8080
252
+ - apiVersion : route.openshift.io/v1
253
+ kind : Route
254
+ metadata :
255
+ name : jlinked-app-route
256
+ spec :
257
+ to :
258
+ kind : Service
259
+ name : jlinked-app-service
You can’t perform that action at this time.
0 commit comments