diff options
author | Santo Cariotti <santo@dcariotti.me> | 2025-01-17 11:41:55 +0100 |
---|---|---|
committer | Santo Cariotti <santo@dcariotti.me> | 2025-01-17 11:41:55 +0100 |
commit | 6cfd0194f65d7730fedcf4ac100f0c3aa28ad06d (patch) | |
tree | 51ef1435683788985a83f1bef00e35532735d045 /yaml/deployments/postgres.yaml | |
parent | a8a948998cd12c5bfbb24a1fcf123901c70cb1c0 (diff) |
Use only three files
Diffstat (limited to 'yaml/deployments/postgres.yaml')
-rw-r--r-- | yaml/deployments/postgres.yaml | 38 |
1 files changed, 0 insertions, 38 deletions
diff --git a/yaml/deployments/postgres.yaml b/yaml/deployments/postgres.yaml deleted file mode 100644 index fd9945f..0000000 --- a/yaml/deployments/postgres.yaml +++ /dev/null @@ -1,38 +0,0 @@ -apiVersion: apps/v1 -kind: Deployment -metadata: - name: postgres-deployment -spec: - replicas: 1 - selector: - matchLabels: - app: postgres - template: - metadata: - labels: - app: postgres - spec: - containers: - - name: postgres - image: postgis/postgis:16-3.4 - env: - - name: POSTGRES_USER - value: "postgres" - - name: POSTGRES_PASSWORD - value: "password" - - name: POSTGRES_DB - value: "gis" - ports: - - containerPort: 5432 - volumeMounts: - - mountPath: /var/lib/postgresql/data - name: pgdata - - mountPath: /docker-entrypoint-initdb.d - name: schema - volumes: - - name: pgdata - persistentVolumeClaim: - claimName: pgdata-pvc - - name: schema - hostPath: - path: ${PGDATA} |