fix: move common cluster defaults to chart/values.yaml
This commit is contained in:
@@ -58,12 +58,23 @@ persistence:
|
|||||||
# size: 10G
|
# size: 10G
|
||||||
# storageClass: ""
|
# storageClass: ""
|
||||||
# accessMode: ReadWriteMany
|
# accessMode: ReadWriteMany
|
||||||
|
|
||||||
cluster:
|
cluster:
|
||||||
enabled: true
|
enabled: true
|
||||||
instances: 2
|
instances: 1
|
||||||
backupEnabled: true
|
|
||||||
backupRetention: 60d
|
|
||||||
size: 5Gi
|
size: 5Gi
|
||||||
|
backupEnabled: false
|
||||||
|
backupRetention: 30d
|
||||||
|
imageName: ghcr.io/cloudnative-pg/postgis:15-3.3
|
||||||
|
bootstrap:
|
||||||
|
initdb:
|
||||||
|
postInitTemplateSQL:
|
||||||
|
- CREATE EXTENSION postgis;
|
||||||
|
- CREATE EXTENSION postgis_topology;
|
||||||
|
- CREATE EXTENSION fuzzystrmatch;
|
||||||
|
- CREATE EXTENSION postgis_tiger_geocoder;
|
||||||
|
- ALTER USER app WITH SUPERUSER;
|
||||||
|
|
||||||
resources: {}
|
resources: {}
|
||||||
# We usually recommend not to specify default resources and to leave this as a conscious
|
# We usually recommend not to specify default resources and to leave this as a conscious
|
||||||
# choice for the user. This also increases chances charts run on environments with little
|
# choice for the user. This also increases chances charts run on environments with little
|
||||||
|
|||||||
@@ -3,17 +3,9 @@ ingress:
|
|||||||
cert-manager.io/cluster-issuer: letsencrypt-production
|
cert-manager.io/cluster-issuer: letsencrypt-production
|
||||||
|
|
||||||
cluster:
|
cluster:
|
||||||
backupEnabled: false
|
backupEnabled: true
|
||||||
|
backupRetention: 60d
|
||||||
instances: 2
|
instances: 2
|
||||||
imageName: ghcr.io/cloudnative-pg/postgis:15-3.3
|
|
||||||
bootstrap:
|
|
||||||
initdb:
|
|
||||||
postInitTemplateSQL:
|
|
||||||
- CREATE EXTENSION postgis;
|
|
||||||
- CREATE EXTENSION postgis_topology;
|
|
||||||
- CREATE EXTENSION fuzzystrmatch;
|
|
||||||
- CREATE EXTENSION postgis_tiger_geocoder;
|
|
||||||
- ALTER USER app WITH SUPERUSER;
|
|
||||||
|
|
||||||
resources:
|
resources:
|
||||||
limits:
|
limits:
|
||||||
|
|||||||
@@ -6,19 +6,6 @@ ingress:
|
|||||||
cert-manager.io/cluster-issuer: letsencrypt-production
|
cert-manager.io/cluster-issuer: letsencrypt-production
|
||||||
atlantis.oceanbox.io/expose: global
|
atlantis.oceanbox.io/expose: global
|
||||||
|
|
||||||
cluster:
|
|
||||||
backupEnabled: false
|
|
||||||
instances: 1
|
|
||||||
imageName: ghcr.io/cloudnative-pg/postgis:15-3.3
|
|
||||||
bootstrap:
|
|
||||||
initdb:
|
|
||||||
postInitTemplateSQL:
|
|
||||||
- CREATE EXTENSION postgis;
|
|
||||||
- CREATE EXTENSION postgis_topology;
|
|
||||||
- CREATE EXTENSION fuzzystrmatch;
|
|
||||||
- CREATE EXTENSION postgis_tiger_geocoder;
|
|
||||||
- ALTER USER app WITH SUPERUSER;
|
|
||||||
|
|
||||||
resources:
|
resources:
|
||||||
limits:
|
limits:
|
||||||
cpu: 200m
|
cpu: 200m
|
||||||
|
|||||||
Reference in New Issue
Block a user