Moved Directus deployment configuration from k8s cluster to Git repository: - Main Directus deployment updated to v12.1.1 - PostgreSQL deployment (postgres:16-alpine) - Services for both Directus and PostgreSQL - Ingress with TLS/cert-manager - Backup CronJob (daily at 2 AM) - PVCs for database and uploads This enables GitOps management via Argo CD. Co-Authored-By: Paperclip <noreply@paperclip.ing>
17 lines
281 B
YAML
17 lines
281 B
YAML
apiVersion: v1
|
|
kind: Service
|
|
metadata:
|
|
name: directus-postgres
|
|
namespace: directus
|
|
labels:
|
|
app: directus
|
|
component: database
|
|
spec:
|
|
type: ClusterIP
|
|
selector:
|
|
app: directus
|
|
component: database
|
|
ports:
|
|
- name: postgres
|
|
port: 5432
|
|
targetPort: 5432
|