Skip to content

Commit 26f4f09

Browse files
committed
quarkus app
1 parent 5ce92f1 commit 26f4f09

File tree

3 files changed

+18
-16
lines changed

3 files changed

+18
-16
lines changed

app/deployment.yaml

Lines changed: 12 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -3,27 +3,29 @@ kind: Deployment
33
metadata:
44
annotations:
55
labels:
6-
app: spring-petclinic
7-
app.kubernetes.io/component: web
8-
app.kubernetes.io/instance: spring-petclinic
9-
app.kubernetes.io/name: spring-petclinic
10-
app.kubernetes.io/part-of: spring-petclinic
6+
app: quarkus-build
7+
app.kubernetes.io/component: quarkus-build
8+
app.kubernetes.io/instance: quarkus-build
9+
app.kubernetes.io/name: quarkus-build
10+
app.kubernetes.io/part-of: quarkus-build
1111
app.openshift.io/runtime: java
12-
name: spring-petclinic
12+
app.openshift.io/runtime-version: openjdk-11-el7
13+
name: quarkus-build
1314
spec:
1415
replicas: 2
1516
selector:
1617
matchLabels:
17-
app: spring-petclinic
18+
app: quarkus-build
1819
template:
1920
metadata:
2021
labels:
21-
app: spring-petclinic
22+
app: quarkus-build
2223
spec:
2324
containers:
24-
- name: spring-petclinic
25+
- name: quarkus-build
2526
imagePullPolicy: Always
26-
image: quay.io/siamaksade/spring-petclinic:latest
27+
image: >-
28+
image-registry.openshift-image-registry.svc:5000/tekton-quarkus/quarkus-build:latest
2729
livenessProbe:
2830
failureThreshold: 3
2931
httpGet:

app/route.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,12 @@ apiVersion: route.openshift.io/v1
22
kind: Route
33
metadata:
44
labels:
5-
app: spring-petclinic
6-
name: spring-petclinic
5+
app: quarkus-build
6+
name: quarkus-build
77
spec:
88
port:
99
targetPort: 8080-tcp
1010
to:
1111
kind: Service
12-
name: spring-petclinic
12+
name: quarkus-build
1313
weight: 100

app/service.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ apiVersion: v1
22
kind: Service
33
metadata:
44
labels:
5-
app: spring-petclinic
6-
name: spring-petclinic
5+
app: quarkus-build
6+
name: quarkus-build
77
spec:
88
ports:
99
- name: 8080-tcp
@@ -19,6 +19,6 @@ spec:
1919
protocol: TCP
2020
targetPort: 8778
2121
selector:
22-
app: spring-petclinic
22+
app: quarkus-build
2323
sessionAffinity: None
2424
type: ClusterIP

0 commit comments

Comments
 (0)