diff options
author | Santo Cariotti <santo@dcariotti.me> | 2024-09-18 11:20:04 +0200 |
---|---|---|
committer | Santo Cariotti <santo@dcariotti.me> | 2024-09-18 11:20:04 +0200 |
commit | 9e3aff2e2a88f7b95b4c785a1af6084c09621d53 (patch) | |
tree | 56330c2110a23c7b01233025b58c668f9e243bf1 /yaml/postgres-deployment.yaml | |
parent | 64a6d5dd87f892536d9b52350fd30e66c722ed8a (diff) |
Reorganize files in folders
Diffstat (limited to 'yaml/postgres-deployment.yaml')
-rw-r--r-- | yaml/postgres-deployment.yaml | 38 |
1 files changed, 0 insertions, 38 deletions
diff --git a/yaml/postgres-deployment.yaml b/yaml/postgres-deployment.yaml deleted file mode 100644 index fd9945f..0000000 --- a/yaml/postgres-deployment.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} |