fix actions

This commit is contained in:
2026-05-13 09:10:47 +02:00
parent a281d9cce9
commit d7ae020130
15 changed files with 327 additions and 1 deletions

33
deploy/base/postgres.yaml Normal file
View File

@@ -0,0 +1,33 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: postgres
spec:
replicas: 1
selector:
matchLabels:
app: postgres
template:
metadata:
labels:
app: postgres
spec:
containers:
- name: postgres
image: postgres:18
ports:
- containerPort: 5432
env:
- name: POSTGRES_DB
value: mydatabase
- name: POSTGRES_USER
value: user123
- name: POSTGRES_PASSWORD
value: password123 # In production, use a Secret!
volumeMounts:
- mountPath: /var/lib/postgresql
name: postgredb
volumes:
- name: postgredb
persistentVolumeClaim:
claimName: postgres-pvc