forked from RHEcosystemAppEng/dbaas-operator
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathquarkus-crunchydata-sample-app.yaml
50 lines (50 loc) · 1.19 KB
/
quarkus-crunchydata-sample-app.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
apiVersion: v1
kind: List
items:
- kind: Deployment
apiVersion: apps/v1
metadata:
name: postgresql-orm-quarkus
spec:
replicas: 1
selector:
matchLabels:
name: postgresql-orm-quarkus
template:
metadata:
labels:
name: postgresql-orm-quarkus
spec:
containers:
- name: postgresql-orm-quarkus
# Replace this with the built image name
image: quay.io/ecosystem-appeng/postgresql-orm-quarkus:v0.2
imagePullPolicy: Always
ports:
- containerPort: 8080
protocol: TCP
- kind: Service
apiVersion: v1
metadata:
name: postgresql-orm-quarkus
labels:
name: postgresql-orm-quarkus
spec:
ports:
- port: 8080
protocol: TCP
targetPort: 8080
selector:
name: postgresql-orm-quarkus
- kind: Route
apiVersion: route.openshift.io/v1
metadata:
name: postgresql-orm-quarkus
labels:
name: postgresql-orm-quarkus
spec:
port:
targetPort: 8080
to:
kind: Service
name: postgresql-orm-quarkus