update questions and persistence

This commit is contained in:
Stavros kois
2023-11-06 19:26:32 +02:00
committed by Stavros Kois
parent fad0c7405c
commit 4532e1eb38
3 changed files with 21 additions and 10 deletions

View File

@@ -196,7 +196,8 @@ questions:
type: string
required: true
immutable: true
default: "storage_entry"
hidden: true
default: "data"
- variable: aclEntries
label: ACL Configuration
schema:
@@ -204,7 +205,7 @@ questions:
show_if: [["aclEnable", "=", true]]
attrs: []
- variable: hostPathConfig
label: hostPathConfig
label: Host Path Configuration
schema:
type: dict
show_if: [["type", "=", "hostPath"]]
@@ -257,6 +258,8 @@ questions:
schema:
type: dict
show_if: [["type", "=", "ixVolume"]]
# Nothing to show for the user
hidden: true
$ref:
- "normalize/ixVolume"
attrs:
@@ -266,7 +269,8 @@ questions:
schema:
type: boolean
default: false
# TODO: verify if ACL is working for postgres
# Postgres does a CHMOD at startup
# Which fails with ACL
hidden: true
- variable: datasetName
label: Dataset Name
@@ -275,6 +279,7 @@ questions:
type: string
required: true
immutable: true
hidden: true
default: "pgData"
- variable: aclEntries
label: ACL Configuration
@@ -283,7 +288,7 @@ questions:
show_if: [["aclEnable", "=", true]]
attrs: []
- variable: hostPathConfig
label: hostPathConfig
label: Host Path Configuration
schema:
type: dict
show_if: [["type", "=", "hostPath"]]
@@ -294,7 +299,8 @@ questions:
schema:
type: boolean
default: false
# TODO: verify if ACL is working for postgres
# Postgres does a CHMOD at startup
# Which fails with ACL
hidden: true
- variable: acl
label: ACL Configuration
@@ -338,6 +344,8 @@ questions:
schema:
type: dict
show_if: [["type", "=", "ixVolume"]]
# Nothing to show for the user
hidden: true
$ref:
- "normalize/ixVolume"
attrs:
@@ -347,7 +355,8 @@ questions:
schema:
type: boolean
default: false
# TODO: verify if ACL is working for postgres
# Postgres does a CHMOD at startup
# Which fails with ACL
hidden: true
- variable: datasetName
label: Dataset Name
@@ -356,6 +365,7 @@ questions:
type: string
required: true
immutable: true
hidden: true
default: "pgBackup"
- variable: aclEntries
label: ACL Configuration
@@ -364,7 +374,7 @@ questions:
show_if: [["aclEnable", "=", true]]
attrs: []
- variable: hostPathConfig
label: hostPathConfig
label: Host Path Configuration
schema:
type: dict
show_if: [["type", "=", "hostPath"]]
@@ -375,7 +385,8 @@ questions:
schema:
type: boolean
default: false
# TODO: verify if ACL is working for postgres
# Postgres does a CHMOD at startup
# Which fails with ACL
hidden: true
- variable: acl
label: ACL Configuration

View File

@@ -2,7 +2,7 @@
persistence:
data:
enabled: true
{{- include "ix.v1.common.app.storageOptions" (dict "storage" .Values.mealieStorage.data) | nindent 2 }}
{{- include "ix.v1.common.app.storageOptions" (dict "storage" .Values.mealieStorage.data) | nindent 4 }}
targetSelector:
mealie:
mealie:
@@ -17,7 +17,7 @@ persistence:
{{- range $idx, $storage := .Values.mealieStorage.additionalStorages }}
{{ printf "mealie-%v:" (int $idx) }}
enabled: true
{{- include "ix.v1.common.app.storageOptions" (dict "storage" $storage) | nindent 2 }}
{{- include "ix.v1.common.app.storageOptions" (dict "storage" $storage) | nindent 4 }}
targetSelector:
mealie:
mealie: