aswi2022code-of-duty-gitlab/backend/db-deployment.yaml @ 4a2ac9a8
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: db |
10 |
name: db |
11 |
spec: |
12 |
replicas: 1 |
13 |
selector: |
14 |
matchLabels: |
15 |
io.kompose.service: db |
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: db |
25 |
spec: |
26 |
containers: |
27 |
- env: |
28 |
- name: POSTGRES_DB |
29 |
value: test |
30 |
- name: POSTGRES_PASSWORD |
31 |
value: Password.123 |
32 |
- name: POSTGRES_USER |
33 |
value: test |
34 |
image: postgres:14.2 |
35 |
name: postgres-db |
36 |
ports: |
37 |
- containerPort: 5432 |
38 |
resources: {} |
39 |
restartPolicy: Always |
40 |
status: {} |