initial working but bare setup
This commit is contained in:
28
base/postgres.yaml
Normal file
28
base/postgres.yaml
Normal file
@@ -0,0 +1,28 @@
|
||||
apiVersion: postgresql.cnpg.io/v1
|
||||
kind: Cluster
|
||||
metadata:
|
||||
name: osm-postgresql
|
||||
spec:
|
||||
instances: 1
|
||||
imageName: ghcr.io/cloudnative-pg/postgis:18-3.6-system-trixie
|
||||
|
||||
bootstrap:
|
||||
initdb:
|
||||
owner: osm
|
||||
database: osm
|
||||
|
||||
postInitTemplateSQL:
|
||||
- CREATE EXTENSION postgis;
|
||||
# - CREATE EXTENSION postgis_topology;
|
||||
# - CREATE EXTENSION fuzzystrmatch;
|
||||
# - CREATE EXTENSION postgis_tiger_geocoder;
|
||||
# - CREATE EXTENSION hstore;
|
||||
|
||||
|
||||
storage:
|
||||
size: 10Gi
|
||||
pvcTemplate:
|
||||
accessModes:
|
||||
- ReadWriteOnce
|
||||
storageClassName: nfs-client
|
||||
volumeMode: Filesystem
|
||||
Reference in New Issue
Block a user