We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bf1679d commit 531f589Copy full SHA for 531f589
src/k8s_conf/db_server.yaml
@@ -19,6 +19,18 @@ status:
19
loadBalancer: {}
20
21
---
22
+apiVersion: v1
23
+kind: ConfigMap
24
+metadata:
25
+ name: postgres-configuration
26
+ labels:
27
+ app: postgres
28
+data:
29
+ POSTGRES_DB: paws
30
+ POSTGRES_USER: postgres
31
+ POSTGRES_PASSWORD: thispasswordisverysecure
32
+---
33
+
34
apiVersion: apps/v1
35
kind: Deployment
36
metadata:
@@ -47,9 +59,12 @@ spec:
47
59
spec:
48
60
containers:
49
61
- env:
62
+ - name: POSTGRES_DB
63
+ value: paws
50
64
- name: POSTGRES_PASSWORD
51
65
value: thispasswordisverysecure
52
- image: localhost:5000/postgres:11.3-alpine
66
67
+ image: postgres:11-alpine # localhost:5000/postgres:11.3-alpine
53
68
imagePullPolicy: ""
54
69
name: paws-compose-db
55
70
ports:
0 commit comments