Skip to content

Commit 26e036c

Browse files
authored
Add PostgreSQL deployment configuration
1 parent c10d764 commit 26e036c

1 file changed

Lines changed: 24 additions & 0 deletions

File tree

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
apiVersion: apps/v1
2+
kind: Deployment
3+
metadata:
4+
name: postgres
5+
labels:
6+
app: postgres
7+
spec:
8+
replicas: 1
9+
selector:
10+
matchLabels:
11+
app: postgres
12+
template:
13+
metadata:
14+
labels:
15+
app: postgres
16+
spec:
17+
containers:
18+
- name: postgres
19+
image: postgres:17
20+
ports:
21+
- containerPort: 5432
22+
envFrom:
23+
- secretRef:
24+
name: postgres-secret

0 commit comments

Comments
 (0)