aswi2022code-of-duty-gitlab/backend/db-deployment.yaml @ 41a11178
1 |
apiVersion: apps/v1 |
---|---|
2 |
kind: Deployment |
3 |
metadata: |
4 |
annotations: |
5 |
kompose.cmd: D:\Skola\5_leto\ASWI\Semestralka\aswi2022code-of-duty\kompose.exe convert |
6 |
kompose.version: 1.26.0 (40646f47) |
7 |
creationTimestamp: null |
8 |
labels: |
9 |
io.kompose.service: db |
10 |
name: db |
11 |
spec: |
12 |
replicas: 1 |
13 |
selector: |
14 |
matchLabels: |
15 |
io.kompose.service: db |
16 |
strategy: |
17 |
type: Recreate |
18 |
template: |
19 |
metadata: |
20 |
annotations: |
21 |
kompose.cmd: D:\Skola\5_leto\ASWI\Semestralka\aswi2022code-of-duty\kompose.exe convert |
22 |
kompose.version: 1.26.0 (40646f47) |
23 |
creationTimestamp: null |
24 |
labels: |
25 |
io.kompose.service: db |
26 |
spec: |
27 |
containers: |
28 |
- env: |
29 |
- name: POSTGRES_DB |
30 |
value: test |
31 |
- name: POSTGRES_PASSWORD |
32 |
value: Password.123 |
33 |
- name: POSTGRES_USER |
34 |
value: test |
35 |
image: postgres:14.2 |
36 |
name: postgres-db |
37 |
ports: |
38 |
- containerPort: 5432 |
39 |
resources: {} |
40 |
restartPolicy: Always |
41 |
status: {} |