create a way of not mounting volumes (#650)

* create a way of not mounting volumes

* fix mistake

* also noMount for statefull sets
This commit is contained in:
Kjeld Schouten-Lebbing
2021-07-03 11:16:55 +02:00
committed by GitHub
parent a6b432fd41
commit dd3b299e2b
5 changed files with 25 additions and 2 deletions
+1 -1
View File
@@ -35,4 +35,4 @@ sources:
- https://github.com/nextcloud/docker
- https://github.com/nextcloud/helm
type: application
version: 1.0.9
version: 1.0.10
@@ -382,6 +382,12 @@ questions:
type: boolean
default: true
hidden: true
- variable: noMount
label: "Do not mount this storage inside the main pod"
schema:
type: boolean
default: true
hidden: true
- variable: forceName
label: "Override PVC Name (advanced)"
description: "Forces a certain name for the PVC"
@@ -460,6 +466,12 @@ questions:
type: boolean
default: true
hidden: true
- variable: noMount
label: "Do not mount this storage inside the main pod"
schema:
type: boolean
default: true
hidden: true
- variable: forceName
label: "Override PVC Name (advanced)"
description: "Forces a certain name for the PVC"
+6
View File
@@ -51,11 +51,13 @@ persistence:
type: emptyDir
db:
noMount: true
forceName: "db"
enabled: true
type: emptyDir
redismaster:
noMount: true
forceName: "redismaster"
enabled: true
type: emptyDir
@@ -127,6 +129,8 @@ cronjob:
# Enabled postgres
# ... for more options see https://github.com/bitnami/charts/tree/master/bitnami/postgresql
postgresql:
volumePermissions:
enabled: true
enabled: true
postgresqlUsername: nextcloud
postgresqlDatabase: nextcloud
@@ -138,6 +142,8 @@ postgresql:
# Enabled redis
# ... for more options see https://github.com/bitnami/charts/tree/master/bitnami/redis
redis:
volumePermissions:
enabled: true
architecture: standalone
enabled: true
auth: