diff --git a/osm-seed/templates/db/db-statefulset.yaml b/osm-seed/templates/db/db-statefulset.yaml index fcd756a8..a8fc04a0 100644 --- a/osm-seed/templates/db/db-statefulset.yaml +++ b/osm-seed/templates/db/db-statefulset.yaml @@ -45,24 +45,6 @@ spec: value: {{ default "postgres" .Values.db.env.POSTGRES_USER | quote }} - name: PGDATA value: {{ .Values.db.persistenceDisk.mountPath }} - - name: POSTGRES_DB_MAX_CONNECTIONS - value: {{ default 100 .Values.db.env.POSTGRES_DB_MAX_CONNECTIONS | quote }} - - name: POSTGRES_DB_SHARED_BUFFERS - value: {{ default "128MB" .Values.db.env.POSTGRES_DB_SHARED_BUFFERS | quote }} - - name: POSTGRES_DB_TEMP_BUFFERS - value: {{ default "8MB" .Values.db.env.POSTGRES_DB_TEMP_BUFFERS | quote }} - - name: POSTGRES_DB_WORK_MEM - value: {{ default "4MB" .Values.db.env.POSTGRES_DB_WORK_MEM | quote }} - - name: POSTGRES_DB_MAINTENANCE_WORK_MEM - value: {{ default "128MB" .Values.db.env.POSTGRES_DB_MAINTENANCE_WORK_MEM | quote }} - - name: POSTGRES_DB_EFFECTIVE_CACHE_SIZE - value: {{ default "4GB" .Values.db.env.POSTGRES_DB_EFFECTIVE_CACHE_SIZE | quote }} - - name: POSTGRES_DB_MAX_WAL_SIZE - value: {{ default "16MB" .Values.db.env.POSTGRES_DB_MAX_WAL_SIZE | quote }} - - name: POSTGRES_DB_MIN_WAL_SIZE - value: {{ default "5MB" .Values.db.env.POSTGRES_DB_MIN_WAL_SIZE | quote }} - - name: POSTGRES_DB_RANDOM_PAGE_COST - value: {{ default "4.0" .Values.db.env.POSTGRES_DB_RANDOM_PAGE_COST | quote }} - name: POD_IP valueFrom: { fieldRef: { fieldPath: status.podIP } } livenessProbe: diff --git a/osm-seed/values.yaml b/osm-seed/values.yaml index a16f3bad..ef6c0598 100644 --- a/osm-seed/values.yaml +++ b/osm-seed/values.yaml @@ -73,16 +73,7 @@ db: env: POSTGRES_DB: openstreetmap POSTGRES_USER: postgres - POSTGRES_PASSWORD: "abc" - POSTGRES_DB_MAX_CONNECTIONS: 100 - POSTGRES_DB_SHARED_BUFFERS: 128MB - POSTGRES_DB_TEMP_BUFFERS: 8MB - POSTGRES_DB_WORK_MEM: 4MB - POSTGRES_DB_MAINTENANCE_WORK_MEM: 128MB - POSTGRES_DB_EFFECTIVE_CACHE_SIZE: 4GB - POSTGRES_DB_MAX_WAL_SIZE: 16MB - POSTGRES_DB_MIN_WAL_SIZE: 5MB - POSTGRES_DB_RANDOM_PAGE_COST: 4.0 + POSTGRES_PASSWORD: 1234 persistenceDisk: enabled: false mountPath: /var/lib/postgresql/data