forked from RHEcosystemAppEng/dbaas-operator
-
Notifications
You must be signed in to change notification settings - Fork 2
/
quarkus-mongodb-sample-app.yaml
49 lines (49 loc) · 1.02 KB
/
quarkus-mongodb-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
apiVersion: v1
kind: List
items:
- kind: Deployment
apiVersion: apps/v1
metadata:
name: fruit-shop
spec:
replicas: 1
selector:
matchLabels:
name: fruit-shop
template:
metadata:
labels:
name: fruit-shop
spec:
containers:
- name: fruit-shop
image: quay.io/ecosystem-appeng/mongo-quickstart:0.0.1-SNAPSHOT
imagePullPolicy: Always
ports:
- containerPort: 8080
protocol: TCP
- kind: Service
apiVersion: v1
metadata:
name: fruit-shop
labels:
name: fruit-shop
spec:
ports:
- port: 8080
protocol: TCP
targetPort: 8080
selector:
name: fruit-shop
- kind: Route
apiVersion: route.openshift.io/v1
metadata:
name: fruit-shop
labels:
name: fruit-shop
spec:
port:
targetPort: 8080
to:
kind: Service
name: fruit-shop