1
|
apiVersion: apps/v1
|
2
|
kind: Deployment
|
3
|
metadata:
|
4
|
annotations:
|
5
|
kompose.cmd: kompose convert
|
6
|
kompose.version: 1.26.0 (40646f47)
|
7
|
creationTimestamp: null
|
8
|
labels:
|
9
|
io.kompose.service: app
|
10
|
name: app
|
11
|
spec:
|
12
|
replicas: 1
|
13
|
selector:
|
14
|
matchLabels:
|
15
|
io.kompose.service: app
|
16
|
strategy: {}
|
17
|
template:
|
18
|
metadata:
|
19
|
annotations:
|
20
|
kompose.cmd: kompose convert
|
21
|
kompose.version: 1.26.0 (40646f47)
|
22
|
creationTimestamp: null
|
23
|
labels:
|
24
|
io.kompose.service: app
|
25
|
spec:
|
26
|
containers:
|
27
|
- env:
|
28
|
- name: SPRING_DATASOURCE_URL
|
29
|
value: jdbc:postgresql://db:5432/test
|
30
|
image: app
|
31
|
name: app-backend
|
32
|
ports:
|
33
|
- containerPort: 8080
|
34
|
resources: {}
|
35
|
restartPolicy: Always
|
36
|
status: {}
|