migrate(megasync) migrate megasync to common **BREAKING CHANGES** (#10623)
**Description** Migrate megasync to new common ⚒️ Fixes # <!--(issue)--> **⚙️ Type of change** - [ ] ⚙️ Feature/App addition - [ ] 🪛 Bugfix - [X] ⚠️ Breaking change (fix or feature that would cause existing functionality to not work as expected) - [X] 🔃 Refactor of current code **🧪 How Has This Been Tested?** <!-- Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration --> **📃 Notes:** <!-- Please enter any other relevant information here --> **✔️ Checklist:** - [X] ⚖️ My code follows the style guidelines of this project - [X] 👀 I have performed a self-review of my own code - [ ] #️⃣ I have commented my code, particularly in hard-to-understand areas - [ ] 📄 I have made corresponding changes to the documentation - [ ] ⚠️ My changes generate no new warnings - [ ] 🧪 I have added tests to this description that prove my fix is effective or that my feature works - [X] ⬆️ I increased versions for any altered app according to semantic versioning **➕ App addition** If this PR is an app addition please make sure you have done the following. - [ ] 🪞 I have opened a PR on [truecharts/containers](https://github.com/truecharts/containers) adding the container to TrueCharts mirror repo. - [ ] 🖼️ I have added an icon in the Chart's root directory called `icon.png` --- _Please don't blindly check all the boxes. Read them and only check those that apply. Those checkboxes are there for the reviewer to see what is this all about and the status of this PR with a quick glance._
This commit is contained in:
@@ -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"
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
{{- include "tc.v1.common.lib.chart.notes" $ -}}
|
||||
@@ -1,2 +1 @@
|
||||
{{/* Render the templates */}}
|
||||
{{ include "tc.common.loader.all" . }}
|
||||
{{ include "tc.v1.common.loader.all" . }}
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user