simplify postgresql folder setup
This commit is contained in:
@@ -9,7 +9,6 @@ image:
|
||||
pullPolicy: IfNotPresent
|
||||
tag: "13.3"
|
||||
|
||||
pgdatapath: "/data"
|
||||
|
||||
envValueFrom:
|
||||
POSTGRES_PASSWORD:
|
||||
@@ -18,7 +17,6 @@ envValueFrom:
|
||||
key: "postgresql-password"
|
||||
|
||||
envTpl:
|
||||
PGDATA: "{{ .Values.pgdatapath }}"
|
||||
POSTGRES_USER: "{{ .Values.postgresqlUsername }}"
|
||||
POSTGRES_DB: "{{ .Values.postgresqlDatabase }}"
|
||||
# POSTGRESQL_POSTGRES_PASSWORD: "{{ .Values.postgrespassword }}"
|
||||
@@ -27,4 +25,4 @@ envTpl:
|
||||
##
|
||||
# Most other defaults are set in questions.yaml
|
||||
# For other options please refer to the wiki, default_values.yaml or the common library chart
|
||||
##
|
||||
##
|
||||
|
||||
@@ -76,7 +76,7 @@ questions:
|
||||
description: "RollingUpdate: Create new pods and then kill old ones"
|
||||
- value: "OnDelete"
|
||||
description: "(Legacy) OnDelete: ignore .spec.template changes"
|
||||
|
||||
|
||||
- variable: env
|
||||
group: "Container Configuration"
|
||||
label: "Image Environment"
|
||||
@@ -253,8 +253,8 @@ questions:
|
||||
schema:
|
||||
type: dict
|
||||
attrs:
|
||||
- variable: data
|
||||
label: "App data Storage"
|
||||
- variable: db
|
||||
label: "App db Storage"
|
||||
description: "Stores the Application Database."
|
||||
schema:
|
||||
type: dict
|
||||
@@ -330,7 +330,7 @@ questions:
|
||||
description: "Path inside the container the storage is mounted"
|
||||
schema:
|
||||
type: string
|
||||
default: "/data"
|
||||
default: "/var/lib/postgresql/data"
|
||||
hidden: true
|
||||
- variable: medium
|
||||
label: "EmptyDir Medium"
|
||||
@@ -364,7 +364,7 @@ questions:
|
||||
type: string
|
||||
default: "100Gi"
|
||||
|
||||
- variable: backups
|
||||
- variable: dbbackups
|
||||
label: "App backup Storage"
|
||||
description: "Stores the Application backups."
|
||||
schema:
|
||||
@@ -441,7 +441,7 @@ questions:
|
||||
description: "Path inside the container the storage is mounted"
|
||||
schema:
|
||||
type: string
|
||||
default: "/backups"
|
||||
default: "/dbbackups"
|
||||
hidden: true
|
||||
- variable: medium
|
||||
label: "EmptyDir Medium"
|
||||
|
||||
Reference in New Issue
Block a user