diff --git a/test/syncthing/1.2.1/Chart.lock b/community/handbrake/1.0.0/Chart.lock similarity index 76% rename from test/syncthing/1.2.1/Chart.lock rename to community/handbrake/1.0.0/Chart.lock index 4b82520d00..2f4ab325ca 100644 --- a/test/syncthing/1.2.1/Chart.lock +++ b/community/handbrake/1.0.0/Chart.lock @@ -3,4 +3,4 @@ dependencies: repository: file://../../../common version: 1.2.7 digest: sha256:d69abe6772f86bc5c22cd95bf4505685ca88a1f5f99d78e2cf58cb66bb945e07 -generated: "2024-01-09T19:51:36.548222782+02:00" +generated: "2024-01-10T19:15:04.204944142+02:00" diff --git a/community/handbrake/1.0.0/Chart.yaml b/community/handbrake/1.0.0/Chart.yaml new file mode 100644 index 0000000000..1953ea34f8 --- /dev/null +++ b/community/handbrake/1.0.0/Chart.yaml @@ -0,0 +1,27 @@ +name: handbrake +description: HandBrake is a tool for converting video from nearly any format to a selection of modern, widely supported codecs. +annotations: + title: HandBrake +type: application +version: 1.0.0 +apiVersion: v2 +appVersion: 23.12.2 +kubeVersion: '>=1.16.0-0' +maintainers: + - name: truenas + url: https://www.truenas.com/ + email: dev@ixsystems.com +dependencies: + - name: common + repository: file://../../../common + version: 1.2.7 +home: https://github.com/jlesage/docker-handbrake +icon: https://media.sys.truenas.net/apps/handbrake/icons/icon.png +sources: + - https://github.com/jlesage/docker-handbrake + - https://github.com/truenas/charts/tree/master/library/ix-dev/community/handbrake + - https://hub.docker.com/r/jlesage/handbrake +keywords: + - media + - video + - transcoder diff --git a/community/handbrake/1.0.0/README.md b/community/handbrake/1.0.0/README.md new file mode 100644 index 0000000000..d212e8d1af --- /dev/null +++ b/community/handbrake/1.0.0/README.md @@ -0,0 +1,3 @@ +# Handbrake + +[Handbrake](https://github.com/jlesage/docker-handbrake) is a tool for converting video from nearly any format to a selection of modern, widely supported codecs. diff --git a/community/handbrake/1.0.0/app-readme.md b/community/handbrake/1.0.0/app-readme.md new file mode 100644 index 0000000000..d212e8d1af --- /dev/null +++ b/community/handbrake/1.0.0/app-readme.md @@ -0,0 +1,3 @@ +# Handbrake + +[Handbrake](https://github.com/jlesage/docker-handbrake) is a tool for converting video from nearly any format to a selection of modern, widely supported codecs. diff --git a/community/handbrake/1.0.0/charts/common-1.2.7.tgz b/community/handbrake/1.0.0/charts/common-1.2.7.tgz new file mode 100644 index 0000000000..33d3fddee9 Binary files /dev/null and b/community/handbrake/1.0.0/charts/common-1.2.7.tgz differ diff --git a/community/handbrake/1.0.0/ci/basic-values.yaml b/community/handbrake/1.0.0/ci/basic-values.yaml new file mode 100644 index 0000000000..c858541cd7 --- /dev/null +++ b/community/handbrake/1.0.0/ci/basic-values.yaml @@ -0,0 +1,13 @@ +handbrakeID: + user: 1000 + group: 1000 + +handbrakeStorage: + config: + type: pvc + storage: + type: pvc + output: + type: pvc + watch: + type: pvc diff --git a/community/handbrake/1.0.0/ci/https-values.yaml b/community/handbrake/1.0.0/ci/https-values.yaml new file mode 100644 index 0000000000..c3255651f1 --- /dev/null +++ b/community/handbrake/1.0.0/ci/https-values.yaml @@ -0,0 +1,16 @@ +handbrakeID: + user: 1000 + group: 1000 + +handbrakeConfig: + secureConnection: true + +handbrakeStorage: + config: + type: pvc + storage: + type: pvc + output: + type: pvc + watch: + type: pvc diff --git a/community/handbrake/1.0.0/ix_values.yaml b/community/handbrake/1.0.0/ix_values.yaml new file mode 100644 index 0000000000..5b80827dd7 --- /dev/null +++ b/community/handbrake/1.0.0/ix_values.yaml @@ -0,0 +1,43 @@ +image: + repository: jlesage/handbrake + pullPolicy: IfNotPresent + tag: v23.12.2 + +resources: + limits: + cpu: 4000m + memory: 8Gi + +handbrakeConfig: + darkMode: false + vncPassword: "" + secureConnection: false + additionalEnvs: [] + +handbrakeID: + user: 568 + group: 568 + +handbrakeNetwork: + webPort: 31010 + vncPort: 31011 + hostNetwork: false + +handbrakeStorage: + config: + type: ixVolume + ixVolumeConfig: + datasetName: config + storage: + type: ixVolume + ixVolumeConfig: + datasetName: storage + output: + type: ixVolume + ixVolumeConfig: + datasetName: output + watch: + type: ixVolume + ixVolumeConfig: + datasetName: watch + additionalStorages: [] diff --git a/community/handbrake/1.0.0/metadata.yaml b/community/handbrake/1.0.0/metadata.yaml new file mode 100644 index 0000000000..e902d5e889 --- /dev/null +++ b/community/handbrake/1.0.0/metadata.yaml @@ -0,0 +1,22 @@ +runAsContext: + - userName: root + groupName: root + gid: 0 + uid: 0 + description: Handbrake runs as root user. +capabilities: + - name: CHOWN + description: Handbrake is able to change file ownership. + - name: DAC_OVERRIDE + description: Handbrake is able to bypass file read, write, and execute permission checks. + - name: FOWNER + description: Handbrake is able to bypass permission checks on operations that normally require the file system UID of the process to match the UID of the file. + - name: SETUID + description: Handbrake is able to set the setuid attribute on a file. + - name: SETGID + description: Handbrake is able to set the setgid attribute on a file. + - name: NET_BIND_SERVICE + description: Handbrake is able to bind a socket to internet domain privileged ports (port numbers less than 1024). + - name: KILL + description: Handbrake is able to kill processes. +hostMounts: [] diff --git a/community/handbrake/1.0.0/questions.yaml b/community/handbrake/1.0.0/questions.yaml new file mode 100644 index 0000000000..767c11c9e6 --- /dev/null +++ b/community/handbrake/1.0.0/questions.yaml @@ -0,0 +1,648 @@ +groups: + - name: Handbrake Configuration + description: Configure Handbrake + - name: User and Group Configuration + description: Configure User and Group for Handbrake + - name: Network Configuration + description: Configure Network for Handbrake + - name: Storage Configuration + description: Configure Storage for Handbrake + - name: Resources Configuration + description: Configure Resources for Handbrake + +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" + +questions: + - variable: TZ + group: Handbrake Configuration + label: Timezone + schema: + type: string + default: Etc/UTC + required: true + $ref: + - definitions/timezone + + - variable: handbrakeConfig + label: "" + group: Handbrake Configuration + schema: + type: dict + attrs: + - variable: darkMode + label: Dark Mode + description: Enable dark mode for Handbrake. + schema: + type: boolean + default: false + - variable: vncPassword + label: VNC Password + description: The password for the VNC UI. + schema: + type: string + default: "" + private: true + - variable: secureConnection + label: Secure Connection + description: Enable secure connection for Handbrake. + schema: + type: boolean + default: false + - variable: additionalEnvs + label: Additional Environment Variables + description: Configure additional environment variables for Handbrake. + 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: handbrakeID + label: "" + group: User and Group Configuration + schema: + type: dict + attrs: + - variable: user + label: User ID + description: The user id that Handbrake files will be owned by. + schema: + type: int + min: 568 + default: 568 + required: true + - variable: group + label: Group ID + description: The group id that Handbrake files will be owned by. + schema: + type: int + min: 568 + default: 568 + required: true + + - variable: handbrakeNetwork + label: "" + group: Network Configuration + schema: + type: dict + attrs: + - variable: webPort + label: Web Port + description: The port for the Handbrake Web UI. + schema: + type: int + default: 31010 + min: 9000 + max: 65535 + required: true + - variable: vncPort + label: VNC Port + description: The port for the Handbrake VNC UI. + schema: + type: int + default: 31011 + min: 9000 + max: 65535 + required: true + - variable: hostNetwork + label: Host Network + description: | + Bind to the host network. It's recommended to keep this disabled.
+ schema: + type: boolean + default: false + + - variable: handbrakeStorage + label: "" + group: Storage Configuration + schema: + type: dict + attrs: + - variable: config + label: Handbrake Config Storage + description: The path to store Handbrake Configuration. + 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: ixVolumeConfig + label: ixVolume Configuration + description: The configuration for the ixVolume dataset. + schema: + type: dict + show_if: [["type", "=", "ixVolume"]] + $ref: + - "normalize/ixVolume" + attrs: + - variable: aclEnable + label: Enable ACL + description: Enable ACL for the dataset. + schema: + type: boolean + default: false + - variable: datasetName + label: Dataset Name + description: The name of the dataset to use for storage. + schema: + type: string + required: true + immutable: true + hidden: true + default: "config" + - variable: aclEntries + label: ACL Configuration + schema: + type: dict + show_if: [["aclEnable", "=", true]] + attrs: [] + - variable: hostPathConfig + label: Host Path Configuration + schema: + type: dict + show_if: [["type", "=", "hostPath"]] + attrs: + - variable: aclEnable + label: Enable ACL + description: Enable ACL for the dataset. + schema: + type: boolean + default: false + - variable: acl + label: ACL Configuration + schema: + type: dict + show_if: [["aclEnable", "=", true]] + attrs: [] + $ref: + - "normalize/acl" + - variable: hostPath + label: Host Path + description: The host path to use for storage. + schema: + type: hostpath + show_if: [["aclEnable", "=", false]] + required: true + + - variable: storage + label: Handbrake Download Storage + description: The path to store Handbrake Storage. + 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: readOnly + label: Read Only + description: Mount the volume as read only. + schema: + type: boolean + default: false + - variable: ixVolumeConfig + label: ixVolume Configuration + description: The configuration for the ixVolume dataset. + schema: + type: dict + show_if: [["type", "=", "ixVolume"]] + $ref: + - "normalize/ixVolume" + attrs: + - variable: aclEnable + label: Enable ACL + description: Enable ACL for the dataset. + schema: + type: boolean + default: false + - variable: datasetName + label: Dataset Name + description: The name of the dataset to use for storage. + schema: + type: string + required: true + immutable: true + hidden: true + default: "storage" + - variable: aclEntries + label: ACL Configuration + schema: + type: dict + show_if: [["aclEnable", "=", true]] + attrs: [] + - variable: hostPathConfig + label: Host Path Configuration + schema: + type: dict + show_if: [["type", "=", "hostPath"]] + attrs: + - variable: aclEnable + label: Enable ACL + description: Enable ACL for the dataset. + schema: + type: boolean + default: false + - variable: acl + label: ACL Configuration + schema: + type: dict + show_if: [["aclEnable", "=", true]] + attrs: [] + $ref: + - "normalize/acl" + - variable: hostPath + label: Host Path + description: The host path to use for storage. + schema: + type: hostpath + show_if: [["aclEnable", "=", false]] + required: true + + - variable: output + label: Handbrake Output Storage + description: The path to store Handbrake Output. + 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: ixVolumeConfig + label: ixVolume Configuration + description: The configuration for the ixVolume dataset. + schema: + type: dict + show_if: [["type", "=", "ixVolume"]] + $ref: + - "normalize/ixVolume" + attrs: + - variable: aclEnable + label: Enable ACL + description: Enable ACL for the dataset. + schema: + type: boolean + default: false + - variable: datasetName + label: Dataset Name + description: The name of the dataset to use for storage. + schema: + type: string + required: true + immutable: true + hidden: true + default: "output" + - variable: aclEntries + label: ACL Configuration + schema: + type: dict + show_if: [["aclEnable", "=", true]] + attrs: [] + - variable: hostPathConfig + label: Host Path Configuration + schema: + type: dict + show_if: [["type", "=", "hostPath"]] + attrs: + - variable: aclEnable + label: Enable ACL + description: Enable ACL for the dataset. + schema: + type: boolean + default: false + - variable: acl + label: ACL Configuration + schema: + type: dict + show_if: [["aclEnable", "=", true]] + attrs: [] + $ref: + - "normalize/acl" + - variable: hostPath + label: Host Path + description: The host path to use for storage. + schema: + type: hostpath + show_if: [["aclEnable", "=", false]] + required: true + + - variable: watch + label: Handbrake Watch Storage + description: The path to store Handbrake Watch. + 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: ixVolumeConfig + label: ixVolume Configuration + description: The configuration for the ixVolume dataset. + schema: + type: dict + show_if: [["type", "=", "ixVolume"]] + $ref: + - "normalize/ixVolume" + attrs: + - variable: aclEnable + label: Enable ACL + description: Enable ACL for the dataset. + schema: + type: boolean + default: false + - variable: datasetName + label: Dataset Name + description: The name of the dataset to use for storage. + schema: + type: string + required: true + immutable: true + hidden: true + default: "watch" + - variable: aclEntries + label: ACL Configuration + schema: + type: dict + show_if: [["aclEnable", "=", true]] + attrs: [] + - variable: hostPathConfig + label: Host Path Configuration + schema: + type: dict + show_if: [["type", "=", "hostPath"]] + attrs: + - variable: aclEnable + label: Enable ACL + description: Enable ACL for the dataset. + schema: + type: boolean + default: false + - variable: acl + label: ACL Configuration + schema: + type: dict + show_if: [["aclEnable", "=", true]] + attrs: [] + $ref: + - "normalize/acl" + - variable: hostPath + label: Host Path + description: The host path to use for storage. + schema: + type: hostpath + show_if: [["aclEnable", "=", false]] + required: true + + - variable: additionalStorages + label: Additional Storage + description: Additional storage for Handbrake. + 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: readOnly + label: Read Only + description: Mount the volume as read only. + schema: + type: boolean + default: false + - variable: mountPath + label: Mount Path + description: The path inside the container to mount the storage. + schema: + type: path + required: true + - variable: hostPathConfig + label: Host Path Configuration + schema: + type: dict + show_if: [["type", "=", "hostPath"]] + attrs: + - variable: aclEnable + label: Enable ACL + description: Enable ACL for the dataset. + schema: + type: boolean + default: false + - variable: acl + label: ACL Configuration + schema: + type: dict + show_if: [["aclEnable", "=", true]] + attrs: [] + $ref: + - "normalize/acl" + - variable: hostPath + label: Host Path + description: The host path to use for storage. + schema: + type: hostpath + show_if: [["aclEnable", "=", false]] + required: true + - variable: ixVolumeConfig + label: ixVolume Configuration + description: The configuration for the ixVolume dataset. + schema: + type: dict + show_if: [["type", "=", "ixVolume"]] + $ref: + - "normalize/ixVolume" + attrs: + - variable: aclEnable + label: Enable ACL + description: Enable ACL for the dataset. + schema: + type: boolean + default: false + - variable: datasetName + label: Dataset Name + description: The name of the dataset to use for storage. + schema: + type: string + required: true + immutable: true + default: "storage_entry" + - variable: aclEntries + label: ACL Configuration + schema: + type: dict + show_if: [["aclEnable", "=", true]] + attrs: [] + - variable: smbConfig + label: SMB Share Configuration + description: The configuration for the SMB Share. + schema: + type: dict + show_if: [["type", "=", "smb-pv-pvc"]] + attrs: + - variable: server + label: Server + description: The server for the SMB share. + schema: + type: string + required: true + - variable: share + label: Share + description: The share name for the SMB share. + schema: + type: string + required: true + - variable: domain + label: Domain (Optional) + description: The domain for the SMB share. + schema: + type: string + - variable: username + label: Username + description: The username for the SMB share. + schema: + type: string + required: true + - variable: password + label: Password + description: The password for the SMB share. + schema: + type: string + required: true + private: true + - variable: size + label: Size (in Gi) + description: The size of the volume quota. + schema: + type: int + required: true + min: 1 + default: 1 + + - variable: resources + group: Resources Configuration + label: "" + schema: + type: dict + attrs: + - variable: limits + label: Limits + schema: + type: dict + attrs: + - variable: cpu + label: CPU + description: CPU limit for Handbrake. + 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 Handbrake. + 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 diff --git a/community/sftpgo/1.2.2/templates/NOTES.txt b/community/handbrake/1.0.0/templates/NOTES.txt similarity index 100% rename from community/sftpgo/1.2.2/templates/NOTES.txt rename to community/handbrake/1.0.0/templates/NOTES.txt diff --git a/community/handbrake/1.0.0/templates/_handbrake.tpl b/community/handbrake/1.0.0/templates/_handbrake.tpl new file mode 100644 index 0000000000..4e9561deeb --- /dev/null +++ b/community/handbrake/1.0.0/templates/_handbrake.tpl @@ -0,0 +1,60 @@ +{{- define "handbrake.workload" -}} +workload: + handbrake: + enabled: true + primary: true + type: Deployment + podSpec: + hostNetwork: {{ .Values.handbrakeNetwork.hostNetwork }} + securityContext: + fsGroup: {{ .Values.handbrakeID.group }} + containers: + handbrake: + enabled: true + primary: true + imageSelector: image + securityContext: + runAsUser: 0 + runAsGroup: 0 + runAsNonRoot: false + readOnlyRootFilesystem: false + capabilities: + add: + - CHOWN + - DAC_OVERRIDE + - FOWNER + - SETGID + - SETUID + - NET_BIND_SERVICE + - KILL + env: + AUTOMATED_CONVERSION_OUTPUT_DIR: /output + HANDBRAKE_GUI: "1" + WEB_LISTENING_PORT: {{ .Values.handbrakeNetwork.webPort }} + VNC_LISTENING_PORT: {{ .Values.handbrakeNetwork.vncPort }} + VNC_PASSWORD: {{ .Values.handbrakeConfig.vncPassword }} + DARK_MODE: {{ ternary "1" "0" .Values.handbrakeConfig.darkMode }} + SECURE_CONNECTION: {{ ternary "1" "0" .Values.handbrakeConfig.secureConnection }} + fixedEnv: + PUID: {{ .Values.handbrakeID.user }} + {{ with .Values.handbrakeConfig.additionalEnvs }} + envList: + {{ range $env := . }} + - name: {{ $env.name }} + value: {{ $env.value }} + {{ end }} + {{ end }} + probes: + liveness: + enabled: true + type: tcp + port: {{ .Values.handbrakeNetwork.vncPort }} + readiness: + enabled: true + type: tcp + port: {{ .Values.handbrakeNetwork.vncPort }} + startup: + enabled: true + type: tcp + port: {{ .Values.handbrakeNetwork.vncPort }} +{{- end -}} diff --git a/community/handbrake/1.0.0/templates/_persistence.tpl b/community/handbrake/1.0.0/templates/_persistence.tpl new file mode 100644 index 0000000000..9e005a9da8 --- /dev/null +++ b/community/handbrake/1.0.0/templates/_persistence.tpl @@ -0,0 +1,54 @@ +{{- define "handbrake.persistence" -}} +persistence: + config: + enabled: true + {{- include "ix.v1.common.app.storageOptions" (dict "storage" .Values.handbrakeStorage.config) | nindent 4 }} + targetSelector: + handbrake: + handbrake: + mountPath: /config + storage: + enabled: true + {{- include "ix.v1.common.app.storageOptions" (dict "storage" .Values.handbrakeStorage.storage) | nindent 4 }} + targetSelector: + handbrake: + handbrake: + mountPath: /storage + output: + enabled: true + {{- include "ix.v1.common.app.storageOptions" (dict "storage" .Values.handbrakeStorage.output) | nindent 4 }} + targetSelector: + handbrake: + handbrake: + mountPath: /output + watch: + enabled: true + {{- include "ix.v1.common.app.storageOptions" (dict "storage" .Values.handbrakeStorage.watch) | nindent 4 }} + targetSelector: + handbrake: + handbrake: + mountPath: /watch + varrun: + enabled: true + type: emptyDir + targetSelector: + handbrake: + handbrake: + mountPath: /var/run + tmp: + enabled: true + type: emptyDir + targetSelector: + handbrake: + handbrake: + mountPath: /tmp + {{- range $idx, $storage := .Values.handbrakeStorage.additionalStorages }} + {{ printf "handbrake-%v:" (int $idx) }} + enabled: true + {{- include "ix.v1.common.app.storageOptions" (dict "storage" $storage) | nindent 4 }} + targetSelector: + handbrake: + handbrake: + mountPath: {{ $storage.mountPath }} + {{- end }} +{{- end -}} diff --git a/community/handbrake/1.0.0/templates/_portal.tpl b/community/handbrake/1.0.0/templates/_portal.tpl new file mode 100644 index 0000000000..1839c4a7e9 --- /dev/null +++ b/community/handbrake/1.0.0/templates/_portal.tpl @@ -0,0 +1,12 @@ +{{- define "handbrake.portal" -}} +--- +apiVersion: v1 +kind: ConfigMap +metadata: + name: portal +data: + path: "/" + port: {{ .Values.handbrakeNetwork.webPort | quote }} + protocol: http + host: $node_ip +{{- end -}} diff --git a/community/handbrake/1.0.0/templates/_service.tpl b/community/handbrake/1.0.0/templates/_service.tpl new file mode 100644 index 0000000000..8378c86b9e --- /dev/null +++ b/community/handbrake/1.0.0/templates/_service.tpl @@ -0,0 +1,20 @@ +{{- define "handbrake.service" -}} +service: + handbrake: + enabled: true + primary: true + type: NodePort + targetSelector: handbrake + ports: + webui: + enabled: true + primary: true + port: {{ .Values.handbrakeNetwork.webPort }} + nodePort: {{ .Values.handbrakeNetwork.webPort }} + targetSelector: handbrake + vnc: + enabled: true + port: {{ .Values.handbrakeNetwork.vncPort }} + nodePort: {{ .Values.handbrakeNetwork.vncPort }} + targetSelector: handbrake +{{- end -}} diff --git a/community/handbrake/1.0.0/templates/common.yaml b/community/handbrake/1.0.0/templates/common.yaml new file mode 100644 index 0000000000..d0cd5f4f29 --- /dev/null +++ b/community/handbrake/1.0.0/templates/common.yaml @@ -0,0 +1,11 @@ +{{- include "ix.v1.common.loader.init" . -}} + +{{/* Merge the templates with Values */}} +{{- $_ := mustMergeOverwrite .Values (include "handbrake.workload" $ | fromYaml) -}} +{{- $_ := mustMergeOverwrite .Values (include "handbrake.service" $ | fromYaml) -}} +{{- $_ := mustMergeOverwrite .Values (include "handbrake.persistence" $ | fromYaml) -}} + +{{/* Create the configmap for portal manually*/}} +{{- include "handbrake.portal" $ -}} + +{{- include "ix.v1.common.loader.apply" . -}} diff --git a/community/handbrake/item.yaml b/community/handbrake/item.yaml new file mode 100644 index 0000000000..c24f1e5e89 --- /dev/null +++ b/community/handbrake/item.yaml @@ -0,0 +1,8 @@ +icon_url: https://media.sys.truenas.net/apps/handbrake/icons/icon.png +categories: + - media +screenshots: [] +tags: + - media + - video + - transcoder diff --git a/community/sftpgo/1.2.2/Chart.lock b/community/sftpgo/1.2.3/Chart.lock similarity index 100% rename from community/sftpgo/1.2.2/Chart.lock rename to community/sftpgo/1.2.3/Chart.lock diff --git a/community/sftpgo/1.2.2/Chart.yaml b/community/sftpgo/1.2.3/Chart.yaml similarity index 98% rename from community/sftpgo/1.2.2/Chart.yaml rename to community/sftpgo/1.2.3/Chart.yaml index d789486b3b..04fc021a9d 100644 --- a/community/sftpgo/1.2.2/Chart.yaml +++ b/community/sftpgo/1.2.3/Chart.yaml @@ -3,7 +3,7 @@ description: SFTPGo is a fully featured and highly configurable SFTP server with annotations: title: SFTPGo type: application -version: 1.2.2 +version: 1.2.3 apiVersion: v2 appVersion: 2.5.6 kubeVersion: '>=1.16.0-0' diff --git a/community/sftpgo/1.2.2/README.md b/community/sftpgo/1.2.3/README.md similarity index 100% rename from community/sftpgo/1.2.2/README.md rename to community/sftpgo/1.2.3/README.md diff --git a/community/sftpgo/1.2.2/app-readme.md b/community/sftpgo/1.2.3/app-readme.md similarity index 100% rename from community/sftpgo/1.2.2/app-readme.md rename to community/sftpgo/1.2.3/app-readme.md diff --git a/community/sftpgo/1.2.2/charts/common-1.2.7.tgz b/community/sftpgo/1.2.3/charts/common-1.2.7.tgz similarity index 100% rename from community/sftpgo/1.2.2/charts/common-1.2.7.tgz rename to community/sftpgo/1.2.3/charts/common-1.2.7.tgz diff --git a/community/sftpgo/1.2.2/ci/basic-values.yaml b/community/sftpgo/1.2.3/ci/basic-values.yaml similarity index 100% rename from community/sftpgo/1.2.2/ci/basic-values.yaml rename to community/sftpgo/1.2.3/ci/basic-values.yaml diff --git a/community/sftpgo/1.2.2/ci/https-values.yaml b/community/sftpgo/1.2.3/ci/https-values.yaml similarity index 100% rename from community/sftpgo/1.2.2/ci/https-values.yaml rename to community/sftpgo/1.2.3/ci/https-values.yaml diff --git a/community/sftpgo/1.2.2/ci/integrations-values.yaml b/community/sftpgo/1.2.3/ci/integrations-values.yaml similarity index 100% rename from community/sftpgo/1.2.2/ci/integrations-values.yaml rename to community/sftpgo/1.2.3/ci/integrations-values.yaml diff --git a/community/sftpgo/1.2.2/ci/plugin-values.yaml b/community/sftpgo/1.2.3/ci/plugin-values.yaml similarity index 100% rename from community/sftpgo/1.2.2/ci/plugin-values.yaml rename to community/sftpgo/1.2.3/ci/plugin-values.yaml diff --git a/community/sftpgo/1.2.2/ix_values.yaml b/community/sftpgo/1.2.3/ix_values.yaml similarity index 100% rename from community/sftpgo/1.2.2/ix_values.yaml rename to community/sftpgo/1.2.3/ix_values.yaml diff --git a/community/sftpgo/1.2.2/metadata.yaml b/community/sftpgo/1.2.3/metadata.yaml similarity index 100% rename from community/sftpgo/1.2.2/metadata.yaml rename to community/sftpgo/1.2.3/metadata.yaml diff --git a/community/sftpgo/1.2.2/migrations/migrate b/community/sftpgo/1.2.3/migrations/migrate similarity index 100% rename from community/sftpgo/1.2.2/migrations/migrate rename to community/sftpgo/1.2.3/migrations/migrate diff --git a/community/sftpgo/1.2.2/questions.yaml b/community/sftpgo/1.2.3/questions.yaml similarity index 100% rename from community/sftpgo/1.2.2/questions.yaml rename to community/sftpgo/1.2.3/questions.yaml diff --git a/test/syncthing/1.2.1/templates/NOTES.txt b/community/sftpgo/1.2.3/templates/NOTES.txt similarity index 100% rename from test/syncthing/1.2.1/templates/NOTES.txt rename to community/sftpgo/1.2.3/templates/NOTES.txt diff --git a/community/sftpgo/1.2.2/templates/_configuration.tpl b/community/sftpgo/1.2.3/templates/_configuration.tpl similarity index 100% rename from community/sftpgo/1.2.2/templates/_configuration.tpl rename to community/sftpgo/1.2.3/templates/_configuration.tpl diff --git a/community/sftpgo/1.2.2/templates/_persistence.tpl b/community/sftpgo/1.2.3/templates/_persistence.tpl similarity index 100% rename from community/sftpgo/1.2.2/templates/_persistence.tpl rename to community/sftpgo/1.2.3/templates/_persistence.tpl diff --git a/community/sftpgo/1.2.2/templates/_portal.tpl b/community/sftpgo/1.2.3/templates/_portal.tpl similarity index 100% rename from community/sftpgo/1.2.2/templates/_portal.tpl rename to community/sftpgo/1.2.3/templates/_portal.tpl diff --git a/community/sftpgo/1.2.2/templates/_service.tpl b/community/sftpgo/1.2.3/templates/_service.tpl similarity index 100% rename from community/sftpgo/1.2.2/templates/_service.tpl rename to community/sftpgo/1.2.3/templates/_service.tpl diff --git a/community/sftpgo/1.2.2/templates/_sftpgo.tpl b/community/sftpgo/1.2.3/templates/_sftpgo.tpl similarity index 96% rename from community/sftpgo/1.2.2/templates/_sftpgo.tpl rename to community/sftpgo/1.2.3/templates/_sftpgo.tpl index 705f89636f..2e9f856509 100644 --- a/community/sftpgo/1.2.2/templates/_sftpgo.tpl +++ b/community/sftpgo/1.2.3/templates/_sftpgo.tpl @@ -11,7 +11,7 @@ workload: sftpgo: enabled: true primary: true - imageSelector: image + imageSelector: {{ .Values.sftpgoConfig.imageSelector }} securityContext: runAsUser: {{ .Values.sftpgoRunAs.user }} runAsGroup: {{ .Values.sftpgoRunAs.group }} diff --git a/community/sftpgo/1.2.2/templates/_svcGen.tpl b/community/sftpgo/1.2.3/templates/_svcGen.tpl similarity index 100% rename from community/sftpgo/1.2.2/templates/_svcGen.tpl rename to community/sftpgo/1.2.3/templates/_svcGen.tpl diff --git a/community/sftpgo/1.2.2/templates/_validation.tpl b/community/sftpgo/1.2.3/templates/_validation.tpl similarity index 100% rename from community/sftpgo/1.2.2/templates/_validation.tpl rename to community/sftpgo/1.2.3/templates/_validation.tpl diff --git a/community/sftpgo/1.2.2/templates/common.yaml b/community/sftpgo/1.2.3/templates/common.yaml similarity index 100% rename from community/sftpgo/1.2.2/templates/common.yaml rename to community/sftpgo/1.2.3/templates/common.yaml diff --git a/test/syncthing/1.2.1/charts/common-1.2.7.tgz b/test/syncthing/1.2.1/charts/common-1.2.7.tgz deleted file mode 100644 index bddb3866bd..0000000000 Binary files a/test/syncthing/1.2.1/charts/common-1.2.7.tgz and /dev/null differ diff --git a/test/syncthing/1.2.2/Chart.lock b/test/syncthing/1.2.2/Chart.lock new file mode 100644 index 0000000000..7d2705c231 --- /dev/null +++ b/test/syncthing/1.2.2/Chart.lock @@ -0,0 +1,6 @@ +dependencies: +- name: common + repository: file://../../../common + version: 1.2.8 +digest: sha256:6798e8f5a66aa1f06247a6b75c10b03b6d7777b129251995e2e4249c89b0eaef +generated: "2024-01-11T19:04:53.665949067+02:00" diff --git a/test/syncthing/1.2.1/Chart.yaml b/test/syncthing/1.2.2/Chart.yaml similarity index 95% rename from test/syncthing/1.2.1/Chart.yaml rename to test/syncthing/1.2.2/Chart.yaml index 5e07619760..fea7ae9ef4 100644 --- a/test/syncthing/1.2.1/Chart.yaml +++ b/test/syncthing/1.2.2/Chart.yaml @@ -3,7 +3,7 @@ description: Syncthing is a continuous file synchronization program. annotations: title: Syncthing type: application -version: 1.2.1 +version: 1.2.2 apiVersion: v2 appVersion: '1.27.0' kubeVersion: '>=1.16.0-0' @@ -14,7 +14,7 @@ maintainers: dependencies: - name: common repository: file://../../../common - version: 1.2.7 + version: 1.2.8 home: https://syncthing.net/ icon: https://media.sys.truenas.net/apps/syncthing/icons/icon.svg sources: diff --git a/test/syncthing/1.2.1/README.md b/test/syncthing/1.2.2/README.md similarity index 100% rename from test/syncthing/1.2.1/README.md rename to test/syncthing/1.2.2/README.md diff --git a/test/syncthing/1.2.1/app-readme.md b/test/syncthing/1.2.2/app-readme.md similarity index 100% rename from test/syncthing/1.2.1/app-readme.md rename to test/syncthing/1.2.2/app-readme.md diff --git a/test/syncthing/1.2.2/charts/common-1.2.8.tgz b/test/syncthing/1.2.2/charts/common-1.2.8.tgz new file mode 100644 index 0000000000..3bf08a7139 Binary files /dev/null and b/test/syncthing/1.2.2/charts/common-1.2.8.tgz differ diff --git a/test/syncthing/1.2.1/ci/basic-no-hostnet-values.yaml b/test/syncthing/1.2.2/ci/basic-no-hostnet-values.yaml similarity index 100% rename from test/syncthing/1.2.1/ci/basic-no-hostnet-values.yaml rename to test/syncthing/1.2.2/ci/basic-no-hostnet-values.yaml diff --git a/test/syncthing/1.2.1/ci/basic-values.yaml b/test/syncthing/1.2.2/ci/basic-values.yaml similarity index 100% rename from test/syncthing/1.2.1/ci/basic-values.yaml rename to test/syncthing/1.2.2/ci/basic-values.yaml diff --git a/test/syncthing/1.2.1/ci/https-no-hostnet-values.yaml b/test/syncthing/1.2.2/ci/https-no-hostnet-values.yaml similarity index 100% rename from test/syncthing/1.2.1/ci/https-no-hostnet-values.yaml rename to test/syncthing/1.2.2/ci/https-no-hostnet-values.yaml diff --git a/test/syncthing/1.2.1/ci/https-values.yaml b/test/syncthing/1.2.2/ci/https-values.yaml similarity index 100% rename from test/syncthing/1.2.1/ci/https-values.yaml rename to test/syncthing/1.2.2/ci/https-values.yaml diff --git a/test/syncthing/1.2.1/ix_values.yaml b/test/syncthing/1.2.2/ix_values.yaml similarity index 100% rename from test/syncthing/1.2.1/ix_values.yaml rename to test/syncthing/1.2.2/ix_values.yaml diff --git a/test/syncthing/1.2.1/metadata.yaml b/test/syncthing/1.2.2/metadata.yaml similarity index 100% rename from test/syncthing/1.2.1/metadata.yaml rename to test/syncthing/1.2.2/metadata.yaml diff --git a/test/syncthing/1.2.1/migrations/migrate b/test/syncthing/1.2.2/migrations/migrate similarity index 100% rename from test/syncthing/1.2.1/migrations/migrate rename to test/syncthing/1.2.2/migrations/migrate diff --git a/test/syncthing/1.2.1/questions.yaml b/test/syncthing/1.2.2/questions.yaml similarity index 94% rename from test/syncthing/1.2.1/questions.yaml rename to test/syncthing/1.2.2/questions.yaml index c14ecaf39c..702a9237ca 100644 --- a/test/syncthing/1.2.1/questions.yaml +++ b/test/syncthing/1.2.2/questions.yaml @@ -346,6 +346,22 @@ questions: type: dict show_if: [["type", "=", "smb-pv-pvc"]] attrs: + - variable: migrationMode + label: Migration Mode + description: | + Enabling this will force the following:
+ - Read Only Mount, regardless of the value of the Read Only checkbox.
+ - SMB Mount Options will be set to "vers=3.0", "cifsacl", "noperm"
+ + This option is used to migrate data from third party
+ NAS platforms onto TrueNAS SCALE.
+ + Keep in mind that the ACL preservation is not guaranteed when:
+ - Non-AD environment
+ - ACL or remote server contains local users
+ schema: + type: boolean + default: false - variable: server label: Server description: The server for the SMB share. diff --git a/test/syncthing/1.2.2/templates/NOTES.txt b/test/syncthing/1.2.2/templates/NOTES.txt new file mode 100644 index 0000000000..ba4e01146c --- /dev/null +++ b/test/syncthing/1.2.2/templates/NOTES.txt @@ -0,0 +1 @@ +{{ include "ix.v1.common.lib.chart.notes" $ }} diff --git a/test/syncthing/1.2.1/templates/_certContainer.tpl b/test/syncthing/1.2.2/templates/_certContainer.tpl similarity index 100% rename from test/syncthing/1.2.1/templates/_certContainer.tpl rename to test/syncthing/1.2.2/templates/_certContainer.tpl diff --git a/test/syncthing/1.2.1/templates/_configure.tpl b/test/syncthing/1.2.2/templates/_configure.tpl similarity index 100% rename from test/syncthing/1.2.1/templates/_configure.tpl rename to test/syncthing/1.2.2/templates/_configure.tpl diff --git a/test/syncthing/1.2.1/templates/_persistence.tpl b/test/syncthing/1.2.2/templates/_persistence.tpl similarity index 78% rename from test/syncthing/1.2.1/templates/_persistence.tpl rename to test/syncthing/1.2.2/templates/_persistence.tpl index 31eb960b62..e5cb142428 100644 --- a/test/syncthing/1.2.1/templates/_persistence.tpl +++ b/test/syncthing/1.2.2/templates/_persistence.tpl @@ -2,7 +2,6 @@ persistence: home: enabled: true - {{- include "syncthing.storage.ci.migration" (dict "storage" .Values.syncthingStorage.home) }} {{- include "ix.v1.common.app.storageOptions" (dict "storage" .Values.syncthingStorage.home) | nindent 4 }} targetSelector: syncthing: @@ -36,9 +35,18 @@ persistence: {{- end -}} {{- range $idx, $storage := .Values.syncthingStorage.additionalStorages }} + {{- if eq $storage.type "smb-pv-pvc" -}} + {{- if $storage.smbConfig.migrationMode -}} + {{- $_ := set $storage "readOnly" true -}} + {{- $_ := set $storage.smbConfig "mountOptions" (list + (dict "key" "noperm") + (dict "key" "cifsacl") + (dict "key" "vers" "value" "3.0") + ) -}} + {{- end -}} + {{- end }} {{ printf "sync-%v" (int $idx) }}: enabled: true - {{- include "syncthing.storage.ci.migration" (dict "storage" $storage) }} {{- include "ix.v1.common.app.storageOptions" (dict "storage" $storage) | nindent 4 }} targetSelector: syncthing: @@ -69,13 +77,3 @@ scaleCertificate: id: {{ .Values.syncthingNetwork.certificateID }} {{- end -}} {{- end -}} - -{{/* TODO: Remove on the next version bump, eg 1.2.0+ */}} -{{- define "syncthing.storage.ci.migration" -}} - {{- $storage := .storage -}} - - {{- if $storage.hostPath -}} - {{- $_ := set $storage "hostPathConfig" dict -}} - {{- $_ := set $storage.hostPathConfig "hostPath" $storage.hostPath -}} - {{- end -}} -{{- end -}} diff --git a/test/syncthing/1.2.1/templates/_portal.tpl b/test/syncthing/1.2.2/templates/_portal.tpl similarity index 100% rename from test/syncthing/1.2.1/templates/_portal.tpl rename to test/syncthing/1.2.2/templates/_portal.tpl diff --git a/test/syncthing/1.2.1/templates/_service.tpl b/test/syncthing/1.2.2/templates/_service.tpl similarity index 100% rename from test/syncthing/1.2.1/templates/_service.tpl rename to test/syncthing/1.2.2/templates/_service.tpl diff --git a/test/syncthing/1.2.1/templates/_syncthing.tpl b/test/syncthing/1.2.2/templates/_syncthing.tpl similarity index 100% rename from test/syncthing/1.2.1/templates/_syncthing.tpl rename to test/syncthing/1.2.2/templates/_syncthing.tpl diff --git a/test/syncthing/1.2.1/templates/common.yaml b/test/syncthing/1.2.2/templates/common.yaml similarity index 100% rename from test/syncthing/1.2.1/templates/common.yaml rename to test/syncthing/1.2.2/templates/common.yaml diff --git a/test/syncthing/1.2.1/to_keep_versions.md b/test/syncthing/1.2.2/to_keep_versions.md similarity index 100% rename from test/syncthing/1.2.1/to_keep_versions.md rename to test/syncthing/1.2.2/to_keep_versions.md diff --git a/test/syncthing/1.2.1/upgrade_strategy_disable b/test/syncthing/1.2.2/upgrade_strategy_disable similarity index 100% rename from test/syncthing/1.2.1/upgrade_strategy_disable rename to test/syncthing/1.2.2/upgrade_strategy_disable