test adding admin creds to nextcloud (#649)
* test adding admin creds * bump * also adapt questions.yaml * remove unused dbbackup for now
This commit is contained in:
@@ -35,5 +35,4 @@ sources:
|
|||||||
- https://github.com/nextcloud/docker
|
- https://github.com/nextcloud/docker
|
||||||
- https://github.com/nextcloud/helm
|
- https://github.com/nextcloud/helm
|
||||||
type: application
|
type: application
|
||||||
version: 1.0.8
|
version: 1.0.9
|
||||||
|
|
||||||
|
|||||||
@@ -104,6 +104,20 @@ questions:
|
|||||||
schema:
|
schema:
|
||||||
type: string
|
type: string
|
||||||
default: "002"
|
default: "002"
|
||||||
|
- variable: NEXTCLOUD_ADMIN_USER
|
||||||
|
label: "NEXTCLOUD_ADMIN_USER"
|
||||||
|
description: "Sets nextcloud admin username"
|
||||||
|
schema:
|
||||||
|
type: string
|
||||||
|
required: true
|
||||||
|
default: ""
|
||||||
|
- variable: NEXTCLOUD_ADMIN_PASSWORD
|
||||||
|
label: "NEXTCLOUD_ADMIN_PASSWORD"
|
||||||
|
description: "Sets nextcloud admin password"
|
||||||
|
schema:
|
||||||
|
type: string
|
||||||
|
required: true
|
||||||
|
default: ""
|
||||||
|
|
||||||
# Configure Enviroment Variables
|
# Configure Enviroment Variables
|
||||||
- variable: envList
|
- variable: envList
|
||||||
@@ -512,61 +526,7 @@ questions:
|
|||||||
show_if: [["type", "=", "pvc"]]
|
show_if: [["type", "=", "pvc"]]
|
||||||
type: string
|
type: string
|
||||||
default: "100Gi"
|
default: "100Gi"
|
||||||
- variable: dbbackup
|
|
||||||
label: "Database Backup Storage"
|
|
||||||
description: "Stores the Application database backups."
|
|
||||||
schema:
|
|
||||||
type: dict
|
|
||||||
attrs:
|
|
||||||
- variable: enabled
|
|
||||||
label: "Enable the storage"
|
|
||||||
schema:
|
|
||||||
type: boolean
|
|
||||||
default: true
|
|
||||||
- variable: storageClass
|
|
||||||
label: "Type of Storage"
|
|
||||||
description: " Warning: Anything other than Internal will break rollback!"
|
|
||||||
schema:
|
|
||||||
type: string
|
|
||||||
default: "SCALE-ZFS"
|
|
||||||
- variable: mountPath
|
|
||||||
label: "mountPath"
|
|
||||||
description: "Path inside the container the storage is mounted"
|
|
||||||
schema:
|
|
||||||
type: string
|
|
||||||
default: ""
|
|
||||||
hidden: true
|
|
||||||
- variable: medium
|
|
||||||
label: "EmptyDir Medium"
|
|
||||||
schema:
|
|
||||||
show_if: [["type", "=", "emptyDir"]]
|
|
||||||
type: string
|
|
||||||
default: ""
|
|
||||||
enum:
|
|
||||||
- value: ""
|
|
||||||
description: "Default"
|
|
||||||
- value: "Memory"
|
|
||||||
description: "Memory"
|
|
||||||
- variable: accessMode
|
|
||||||
label: "Access Mode (Advanced)"
|
|
||||||
description: "Allow or disallow multiple PVC's writhing to the same PV"
|
|
||||||
schema:
|
|
||||||
show_if: [["type", "=", "pvc"]]
|
|
||||||
type: string
|
|
||||||
default: "ReadWriteOnce"
|
|
||||||
enum:
|
|
||||||
- value: "ReadWriteOnce"
|
|
||||||
description: "ReadWriteOnce"
|
|
||||||
- value: "ReadOnlyMany"
|
|
||||||
description: "ReadOnlyMany"
|
|
||||||
- value: "ReadWriteMany"
|
|
||||||
description: "ReadWriteMany"
|
|
||||||
- variable: size
|
|
||||||
label: "Size quotum of storage"
|
|
||||||
schema:
|
|
||||||
show_if: [["type", "=", "pvc"]]
|
|
||||||
type: string
|
|
||||||
default: "100Gi"
|
|
||||||
- variable: persistenceList
|
- variable: persistenceList
|
||||||
label: "Additional app storage"
|
label: "Additional app storage"
|
||||||
group: "Storage and Persistence"
|
group: "Storage and Persistence"
|
||||||
|
|||||||
@@ -14,13 +14,14 @@ service:
|
|||||||
main:
|
main:
|
||||||
port: 80
|
port: 80
|
||||||
|
|
||||||
env: {}
|
env:
|
||||||
|
NEXTCLOUD_ADMIN_USER: "admin"
|
||||||
|
NEXTCLOUD_ADMIN_PASSWORD: "adminpass"
|
||||||
|
|
||||||
envTpl:
|
envTpl:
|
||||||
POSTGRES_DB: "{{ .Values.postgresql.postgresqlDatabase }}"
|
POSTGRES_DB: "{{ .Values.postgresql.postgresqlDatabase }}"
|
||||||
POSTGRES_USER: "{{ .Values.postgresql.postgresqlUsername }}"
|
POSTGRES_USER: "{{ .Values.postgresql.postgresqlUsername }}"
|
||||||
|
|
||||||
|
|
||||||
envFrom:
|
envFrom:
|
||||||
- configMapRef:
|
- configMapRef:
|
||||||
name: nextcloudconfig
|
name: nextcloudconfig
|
||||||
@@ -59,10 +60,6 @@ persistence:
|
|||||||
enabled: true
|
enabled: true
|
||||||
type: emptyDir
|
type: emptyDir
|
||||||
|
|
||||||
dbbackup:
|
|
||||||
enabled: true
|
|
||||||
type: emptyDir
|
|
||||||
|
|
||||||
initContainers:
|
initContainers:
|
||||||
- name: init-postgresdb
|
- name: init-postgresdb
|
||||||
image: postgres:13.1
|
image: postgres:13.1
|
||||||
|
|||||||
Reference in New Issue
Block a user