|
@@ -3,10 +3,10 @@ groups:
|
|
|
description: "Image to be used for container"
|
|
|
- name: "Workload Configuration"
|
|
|
description: "Configure workload deployment"
|
|
|
- - name: "Storage"
|
|
|
- description: "Configure Storage for Nextcloud"
|
|
|
- name: "Minio Configuration"
|
|
|
description: "Configure Minio credentials"
|
|
|
+ - name: "Storage"
|
|
|
+ description: "Configure Storage for Nextcloud"
|
|
|
- name: "Advanced DNS Settings"
|
|
|
description: "Configure DNS settings"
|
|
|
|
|
@@ -60,6 +60,29 @@ questions:
|
|
|
- value: "Recreate"
|
|
|
description: "Kill existing pods before creating new ones"
|
|
|
|
|
|
+ - variable: distributedMode
|
|
|
+ label: "Enable Distributed Mode"
|
|
|
+ description: "Run Minio instance to connect to a distributed minio cluster"
|
|
|
+ group: "Minio Configuration"
|
|
|
+ schema:
|
|
|
+ type: boolean
|
|
|
+ default: false
|
|
|
+ show_subquestions_if: true
|
|
|
+ subquestions:
|
|
|
+ - variable: distributedIps
|
|
|
+ label: "Distributed Minio Instance URI(s)"
|
|
|
+ schema:
|
|
|
+ type: list
|
|
|
+ required: true
|
|
|
+ default: []
|
|
|
+ items:
|
|
|
+ - variable: ip
|
|
|
+ label: "Distributed Minio Instance URI"
|
|
|
+ schema:
|
|
|
+ type: string
|
|
|
+ empty: false
|
|
|
+
|
|
|
+
|
|
|
- variable: extraArgs
|
|
|
label: "Minio Extra Arguments"
|
|
|
group: "Minio Configuration"
|
|
@@ -164,6 +187,7 @@ questions:
|
|
|
group: "Storage"
|
|
|
schema:
|
|
|
type: dict
|
|
|
+ show_if: [["distributedMode", "=", false]]
|
|
|
attrs:
|
|
|
- variable: export
|
|
|
label: "Data Volume"
|
|
@@ -200,3 +224,28 @@ questions:
|
|
|
schema:
|
|
|
type: hostpath
|
|
|
required: true
|
|
|
+
|
|
|
+ - variable: extraAppVolumeMounts
|
|
|
+ label: "Extra Host Path Volumes"
|
|
|
+ group: "Storage"
|
|
|
+ schema:
|
|
|
+ type: list
|
|
|
+ items:
|
|
|
+ - variable: extraAppVolume
|
|
|
+ label: "Host Path Volume"
|
|
|
+ description: "Add an extra host path volume for Minio application"
|
|
|
+ schema:
|
|
|
+ type: dict
|
|
|
+ attrs:
|
|
|
+ - variable: mountPath
|
|
|
+ label: "Mount Path in Pod"
|
|
|
+ description: "Path where the volume will be mounted inside the pod"
|
|
|
+ schema:
|
|
|
+ type: path
|
|
|
+ required: true
|
|
|
+ - variable: hostPath
|
|
|
+ label: "Host Path"
|
|
|
+ description: "Host path"
|
|
|
+ schema:
|
|
|
+ type: hostpath
|
|
|
+ required: true
|