diff --git a/charts/incubator/megasync/Chart.yaml b/charts/incubator/megasync/Chart.yaml index 562cfca646f..d7b63f02fbc 100644 --- a/charts/incubator/megasync/Chart.yaml +++ b/charts/incubator/megasync/Chart.yaml @@ -1,18 +1,11 @@ -annotations: - truecharts.org/SCALE-support: "true" - truecharts.org/catagories: | - - Network-Other - - Productivity - - Tools-Utilities - - Backup apiVersion: v2 appVersion: "latest" dependencies: - name: common repository: https://library-charts.truecharts.org - version: 11.1.2 + version: 12.14.6 deprecated: false -description: "MEGAsync is an intuitive application that enables you to effortlessly synchronize folders on several computers. You simply need to upload data in the cloud and, within seconds, you can explore the same documents on your own PC." +description: MEGAsync can synchronize all of your devices with your MEGA account. home: https://truecharts.org/charts/incubator/megasync icon: https://truecharts.org/img/hotlink-ok/chart-icons/megasync.png keywords: @@ -29,5 +22,13 @@ maintainers: name: megasync sources: - https://github.com/truecharts/charts/tree/master/charts/incubator/megasync + - https://github.com/ich777/docker-megasync type: application -version: 2.0.10 +version: 3.0.0 +annotations: + truecharts.org/catagories: | + - Network-Other + - Productivity + - Tools-Utilities + - Backup + truecharts.org/SCALE-support: "true" diff --git a/charts/incubator/megasync/questions.yaml b/charts/incubator/megasync/questions.yaml index e95cd0a06b9..513093aa388 100644 --- a/charts/incubator/megasync/questions.yaml +++ b/charts/incubator/megasync/questions.yaml @@ -2,6 +2,7 @@ portals: open: # Include{portalLink} + path: "/vnc_auto.html" questions: # Include{global} # Include{workload} @@ -10,39 +11,36 @@ questions: # Include{replicas1} # Include{podSpec} # Include{containerMain} + + + - variable: env + label: Image Environment + schema: + additional_attrs: true + type: dict + attrs: + - variable: CUSTOM_RES_W + label: "Resolution Width" + schema: + type: string + required: true + default: "800" + - variable: CUSTOM_RES_H + label: "Resolution Height" + schema: + type: string + required: true + default: "600" + # Include{containerBasic} # Include{containerAdvanced} - - variable: env - group: "App Configuration" - label: "Image Environment" - schema: - additional_attrs: true - type: dict - attrs: - - variable: UMASK - label: "UMASK" - description: "Container Variable UMASK" - schema: - type: string - default: "000" - - variable: CUSTOM_RES_W - label: "CUSTOM_RES_W" - description: "Container Variable CUSTOMRESW" - schema: - type: string - default: "800" - - variable: CUSTOM_RES_H - label: "CUSTOM_RES_H" - description: "Container Variable CUSTOMRESH" - schema: - type: string - default: "600" # Include{containerConfig} +# Include{podOptions} # Include{serviceRoot} - variable: main - label: "Main Service" - description: "The Primary service on which the healthcheck runs, often the webUI" + label: Main Service + description: The Primary service on which the healthcheck runs, often the webUI schema: additional_attrs: true type: dict @@ -50,14 +48,14 @@ questions: # Include{serviceSelectorLoadBalancer} # Include{serviceSelectorExtras} - variable: main - label: "Main Service Port Configuration" + label: Main Service Port Configuration schema: additional_attrs: true type: dict attrs: - variable: port - label: "Port" - description: "This port exposes the container port on the service" + label: Port + description: This port exposes the container port on the service schema: type: int default: 8080 @@ -66,17 +64,9 @@ questions: # Include{serviceExpert} # Include{serviceList} # Include{persistenceRoot} - - variable: datadir - label: "datadir Storage" - description: "Configuration directory" - schema: - additional_attrs: true - type: dict - attrs: -# Include{persistenceBasic} - - variable: hostpath - label: "hostpath Storage" - description: "Read only (This container was mainly created to backup files to MEGA, if you also want to sync files from and to MEGA please create a new path entry to the preferred share on the server - its strongly recommended to do that in mnt... within the container)" + - variable: data + label: "App Data Storage" + description: "Stores the Application Data." schema: additional_attrs: true type: dict diff --git a/charts/incubator/megasync/templates/NOTES.txt b/charts/incubator/megasync/templates/NOTES.txt new file mode 100644 index 00000000000..efcb74cb772 --- /dev/null +++ b/charts/incubator/megasync/templates/NOTES.txt @@ -0,0 +1 @@ +{{- include "tc.v1.common.lib.chart.notes" $ -}} diff --git a/charts/incubator/megasync/templates/common.yaml b/charts/incubator/megasync/templates/common.yaml index cbf66c20818..b51394e00a4 100644 --- a/charts/incubator/megasync/templates/common.yaml +++ b/charts/incubator/megasync/templates/common.yaml @@ -1,2 +1 @@ -{{/* Render the templates */}} -{{ include "tc.common.loader.all" . }} +{{ include "tc.v1.common.loader.all" . }} diff --git a/charts/incubator/megasync/values.yaml b/charts/incubator/megasync/values.yaml index b6223eb8311..1d2e784daa8 100644 --- a/charts/incubator/megasync/values.yaml +++ b/charts/incubator/megasync/values.yaml @@ -1,32 +1,42 @@ -env: - CUSTOM_RES_H: "600" - CUSTOM_RES_W: "800" - UMASK: "000" image: pullPolicy: IfNotPresent repository: tccr.io/truecharts/megasync - tag: latest@sha256:d94f4c81412cd0ea25dadeaae5f58e5f654a82eb9b71adfad622f38d8bd0112b -persistence: - datadir: - enabled: true - mountPath: /megasync/.local/share/data/Mega Limited/MEGAsync - hostpath: - enabled: true - mountPath: /mnt/host - readOnly: true -podSecurityContext: - runAsGroup: 0 - runAsUser: 0 + tag: vlatest@sha256:d94f4c81412cd0ea25dadeaae5f58e5f654a82eb9b71adfad622f38d8bd0112b + securityContext: - readOnlyRootFilesystem: false - runAsNonRoot: false + container: + runAsNonRoot: false + readOnlyRootFilesystem: false + runAsUser: 0 + runAsGroup: 0 + service: main: ports: main: port: 8080 - protocol: TCP + protocol: http targetPort: 8080 +workload: + main: + podSpec: + containers: + main: + env: + DATA_DIR: "{{ .Values.persistence.data.mountPath }}" + CUSTOM_RES_H: "600" + CUSTOM_RES_W: "800" + +persistence: + data: + enabled: true + mountPath: /data + hostpath: + enabled: true + mountPath: /mnt/host + readOnly: true + portal: - enabled: true + open: + enabled: true