groups: - name: Castopod Configuration description: Configure Castopod - name: Network Configuration description: Configure Network for Castopod - name: Storage Configuration description: Configure Storage for Castopod - name: Resources Configuration description: Configure Resources for Castopod portals: web_portal: protocols: - "$kubernetes-resource_configmap_portal_protocol" host: - "$kubernetes-resource_configmap_portal_host" ports: - "$kubernetes-resource_configmap_portal_port" path: "$kubernetes-resource_configmap_portal_path" admin: protocols: - "$kubernetes-resource_configmap_portal_protocol" host: - "$kubernetes-resource_configmap_portal_host" ports: - "$kubernetes-resource_configmap_portal_port" path: "$kubernetes-resource_configmap_portal_admin" questions: - variable: castopodConfig label: "" group: Castopod Configuration schema: type: dict attrs: - variable: baseUrl label: Base URL description: | The base URL for Castopod.
Example: http://your.server.ip:30085 schema: type: uri required: true default: "" - variable: webTimeout label: Web Timeout description: The timeout for Castopod requests in seconds. schema: type: int required: true default: 900 min: 1 - variable: webMaxBodySize label: Web Max Body Size description: The maximum body size for Castopod requests in megabytes. schema: type: int required: true default: 512 min: 1 - variable: phpMemoryLimit label: PHP Memory Limit description: The PHP memory limit for Castopod. schema: type: int required: true default: 512 min: 1 - variable: enable2fa label: Enable 2FA description: Enable 2FA for Castopod. schema: type: boolean default: false - variable: disableHttpsRedirect label: Disable HTTPS Redirect description: | Disable HTTPS redirect for Castopod.
This is useful if you are using a reverse proxy with HTTPS. schema: type: boolean default: true - variable: additionalEnvs label: Additional Environment Variables description: Configure additional environment variables for Castopod. schema: type: list default: [] items: - variable: env label: Environment Variable schema: type: dict attrs: - variable: name label: Name schema: type: string required: true - variable: value label: Value schema: type: string required: true - variable: castopodNetwork label: "" group: Network Configuration schema: type: dict attrs: - variable: webPort label: Web Port description: The port for the Castopod WebUI. schema: type: int default: 30085 min: 9000 max: 65535 required: true - variable: castopodStorage label: "" group: Storage Configuration schema: type: dict attrs: - variable: data label: Castopod Data Storage description: The path to store Castopod data. schema: type: dict attrs: - variable: type label: Type description: | ixVolume: Is dataset created automatically by the system.
Host Path: Is a path that already exists on the system. schema: type: string required: true immutable: true default: ixVolume enum: - value: hostPath description: Host Path (Path that already exists on the system) - value: ixVolume description: ixVolume (Dataset created automatically by the system) - variable: datasetName label: Dataset Name schema: type: string show_if: [["type", "=", "ixVolume"]] required: true hidden: true immutable: true default: "data" $ref: - "normalize/ixVolume" - variable: hostPath label: Host Path schema: type: hostpath show_if: [["type", "=", "hostPath"]] immutable: true required: true - variable: mariadbData label: Castopod MariaDB Data Storage description: The path to store Castopod MariaDB Data. schema: type: dict attrs: - variable: type label: Type description: | ixVolume: Is dataset created automatically by the system.
Host Path: Is a path that already exists on the system. schema: type: string required: true immutable: true default: ixVolume enum: - value: hostPath description: Host Path (Path that already exists on the system) - value: ixVolume description: ixVolume (Dataset created automatically by the system) - variable: datasetName label: Dataset Name schema: type: string show_if: [["type", "=", "ixVolume"]] required: true hidden: true immutable: true default: mariadbData $ref: - "normalize/ixVolume" - variable: hostPath label: Host Path schema: type: hostpath show_if: [["type", "=", "hostPath"]] immutable: true required: true - variable: mariadbBackup label: Castopod MariaDB Backup Storage description: The path to store Castopod MariaDB Backup. schema: type: dict attrs: - variable: type label: Type description: | ixVolume: Is dataset created automatically by the system.
Host Path: Is a path that already exists on the system. schema: type: string required: true immutable: true default: ixVolume enum: - value: hostPath description: Host Path (Path that already exists on the system) - value: ixVolume description: ixVolume (Dataset created automatically by the system) - variable: datasetName label: Dataset Name schema: type: string show_if: [["type", "=", "ixVolume"]] required: true hidden: true immutable: true default: mariadbBackup $ref: - "normalize/ixVolume" - variable: hostPath label: Host Path schema: type: hostpath show_if: [["type", "=", "hostPath"]] immutable: true required: true - variable: additionalStorages label: Additional Storage description: Additional storage for Castopod. schema: type: list default: [] items: - variable: storageEntry label: Storage Entry schema: type: dict attrs: - variable: type label: Type description: | ixVolume: Is dataset created automatically by the system.
Host Path: Is a path that already exists on the system.
SMB Share: Is a SMB share that is mounted to a persistent volume claim. schema: type: string required: true default: "ixVolume" immutable: true enum: - value: "hostPath" description: Host Path (Path that already exists on the system) - value: "ixVolume" description: ixVolume (Dataset created automatically by the system) - value: "smb-pv-pvc" description: SMB Share (Mounts a persistent volume claim to a SMB share) - variable: mountPath label: Mount Path description: The path inside the container to mount the storage. schema: type: path required: true - variable: hostPath label: Host Path description: The host path to use for storage. schema: type: hostpath show_if: [["type", "=", "hostPath"]] required: true - variable: datasetName label: Dataset Name description: The name of the dataset to use for storage. schema: type: string show_if: [["type", "=", "ixVolume"]] required: true immutable: true default: "storage_entry" $ref: - "normalize/ixVolume" - variable: server label: Server description: The server for the SMB share. schema: type: string show_if: [["type", "=", "smb-pv-pvc"]] required: true - variable: share label: Share description: The share name for the SMB share. schema: type: string show_if: [["type", "=", "smb-pv-pvc"]] required: true - variable: domain label: Domain (Optional) description: The domain for the SMB share. schema: type: string show_if: [["type", "=", "smb-pv-pvc"]] - variable: username label: Username description: The username for the SMB share. schema: type: string show_if: [["type", "=", "smb-pv-pvc"]] required: true - variable: password label: Password description: The password for the SMB share. schema: type: string show_if: [["type", "=", "smb-pv-pvc"]] required: true private: true - variable: size label: Size (in Gi) description: The size of the volume quota. schema: type: int show_if: [["type", "=", "smb-pv-pvc"]] required: true min: 1 default: 1 - variable: resources label: "" group: Resources Configuration schema: type: dict attrs: - variable: limits label: Limits schema: type: dict attrs: - variable: cpu label: CPU description: CPU limit for Castopod. schema: type: string max_length: 6 valid_chars: '^(0\.[1-9]|[1-9][0-9]*)(\.[0-9]|m?)$' valid_chars_error: | Valid CPU limit formats are
- Plain Integer - eg. 1
- Float - eg. 0.5
- Milicpu - eg. 500m default: "4000m" required: true - variable: memory label: Memory description: Memory limit for Castopod. schema: type: string max_length: 12 valid_chars: '^[1-9][0-9]*([EPTGMK]i?|e[0-9]+)?$' valid_chars_error: | Valid Memory limit formats are
- Suffixed with E/P/T/G/M/K - eg. 1G
- Suffixed with Ei/Pi/Ti/Gi/Mi/Ki - eg. 1Gi
- Plain Integer in bytes - eg. 1024
- Exponent - eg. 134e6 default: "8Gi" required: true