Primer commit

This commit is contained in:
2025-04-27 15:57:11 +00:00
commit aac30bfe77
18 changed files with 310 additions and 0 deletions

27
deployments/database.yaml Normal file
View File

@ -0,0 +1,27 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: harbor-database
namespace: harbor
spec:
replicas: 1
selector:
matchLabels:
app: harbor-database
template:
metadata:
labels:
app: harbor-database
spec:
containers:
- name: database
image: goharbor/harbor-db:v2.10.0
ports:
- containerPort: 5432
volumeMounts:
- name: db-data
mountPath: /var/lib/postgresql/data
volumes:
- name: db-data
persistentVolumeClaim:
claimName: database-pvc