chore(apps): persistence cleanup and small bugfixes (#1329)

* chore(apps): remove persistence size from values

* remove type from persistence from values.yaml

* remove accessMode from persistence from values

* devices dont user persistence

* remove empty lines

* restore accessMode in common, whoops

* quote all mountPaths

* convert `'` to `"`

* fix empty lines

* add missing mountPath on values

* add missing persistence on values

* fix var name on quetsions

* remove disabled persistence from values which are not even defined in questions

* remove more type, accessMode and size

* mountpath -> mountPath

* mounthPath -> mountPath

* booksonic-air persistence cleanup

* remove empty lines

* fix mountPath

* remove unused persistence

* teamspeak3 fix var name in persistence

* remove persistence that will probably be user defined storage

* remove persistence that will probably be user defined storage

* add missing persistence from values

* fix openldap volclaim

* remove persistence that will probably be user defined storage

* add missing persistence from values

* fix path ff3

* fix mountPath

* add missing persistence from values

* remove persistence that will probably be user defined storage

* revert changes in volClaimTemplate

* remove varrun from questions

* fix and cleanup questions postgres

* calm down CI

* ci only value
This commit is contained in:
Stavros Kois
2021-11-14 20:19:16 +01:00
committed by GitHub
parent 56de7f45de
commit 19df900522
189 changed files with 169 additions and 1246 deletions
-113
View File
@@ -215,62 +215,6 @@ questions:
description: "pvc"
- value: "hostPath"
description: "hostPath"
# Include{persistenceBasic}
- variable: hostPath
label: "hostPath"
description: "Path inside the container the storage is mounted"
schema:
show_if: [["type", "=", "hostPath"]]
type: hostpath
- variable: mountPath
label: "mountPath"
description: "Path inside the container the storage is mounted"
schema:
type: string
default: "/var/lib/postgresql/data"
hidden: true
valid_chars: '^\/([a-zA-Z0-9._-]+(\s?[a-zA-Z0-9._-]+|\/?))+$'
- variable: medium
label: "EmptyDir Medium"
schema:
show_if: [["type", "=", "emptyDir"]]
type: string
default: ""
enum:
- value: ""
description: "Default"
- value: "Memory"
description: "Memory"
# Include{persistenceAdvanced}
- variable: data
label: "App data Storage"
description: "Stores the Application Database."
schema:
type: dict
attrs:
- variable: enabled
label: "Enable the storage"
schema:
type: boolean
default: true
hidden: true
- variable: type
label: "Type of Storage"
description: "Sets the persistence type, Anything other than PVC could break rollback!"
schema:
type: string
default: "simplePVC"
enum:
- value: "simplePVC"
description: "PVC (simple)"
- value: "simpleHP"
description: "HostPath (simple)"
- value: "emptyDir"
description: "emptyDir"
- value: "pvc"
description: "pvc"
- value: "hostPath"
description: "hostPath"
# Include{persistenceBasic}
- variable: hostPath
label: "hostPath"
@@ -299,63 +243,6 @@ questions:
description: "Memory"
# Include{persistenceAdvanced}
- variable: dbbackups
label: "App backup Storage"
description: "Stores the Application backups."
schema:
type: dict
attrs:
- variable: enabled
label: "Enable the storage"
schema:
type: boolean
default: true
hidden: true
- variable: type
label: "Type of Storage"
description: "Sets the persistence type, Anything other than PVC could break rollback!"
schema:
type: string
default: "simplePVC"
enum:
- value: "simplePVC"
description: "PVC (simple)"
- value: "simpleHP"
description: "HostPath (simple)"
- value: "emptyDir"
description: "emptyDir"
- value: "pvc"
description: "pvc"
- value: "hostPath"
description: "hostPath"
# Include{persistenceBasic}
- variable: hostPath
label: "hostPath"
description: "Path inside the container the storage is mounted"
schema:
show_if: [["type", "=", "hostPath"]]
type: hostpath
- variable: mountPath
label: "mountPath"
description: "Path inside the container the storage is mounted"
schema:
type: string
default: "/dbbackups"
hidden: true
valid_chars: '^\/([a-zA-Z0-9._-]+(\s?[a-zA-Z0-9._-]+|\/?))+$'
- variable: medium
label: "EmptyDir Medium"
schema:
show_if: [["type", "=", "emptyDir"]]
type: string
default: ""
enum:
- value: ""
description: "Default"
- value: "Memory"
description: "Memory"
# Include{persistenceAdvanced}
# Include{persistenceList}
# Include{ingressList}
+1 -3
View File
@@ -24,9 +24,7 @@ persistence:
db:
enabled: true
mountPath: "/bitnami/postgresql"
type: pvc
accessMode: ReadWriteOnce
size: "999Gi"
postgresqlPassword: "testpass"
postgresqlUsername: "test"
+2 -2
View File
@@ -59,8 +59,8 @@ volumeClaimTemplates:
data:
enabled: true
mountPath: "/bitnami/redis"
type: pvc
accessMode: ReadWriteOnce
type: pvc
size: "100Gi"
# -- Probe configuration
@@ -125,7 +125,7 @@ persistence:
# -- Where to mount the volume in the main container.
# Defaults to `/<name_of_the_volume>`,
# setting to '-' creates the volume but disables the volumeMount.
mountPath: /health
mountPath: "/health"
# -- Specify if the volume should be mounted read-only.
readOnly: false
# -- Define the custom Volume spec here