migrate(filestash) migrate filestash to new common (#13447)

This commit is contained in:
Xstar97TheNoob 2023-10-10 16:15:34 -04:00 committed by GitHub
parent 345d6f9af4
commit 9aff6447a9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 90 additions and 46 deletions

View File

@ -1,17 +1,11 @@
annotations:
truecharts.org/SCALE-support: "true"
truecharts.org/catagories: |
- Cloud
- Productivity
- Network-Web
apiVersion: v2 apiVersion: v2
appVersion: "latest" appVersion: "latest"
dependencies: dependencies:
- name: common - name: common
repository: https://library-charts.truecharts.org repository: https://library-charts.truecharts.org
version: 11.1.2 version: 14.0.9
deprecated: false deprecated: false
description: A modern web client for SFTP, S3, FTP, WebDAV, Git, Minio, LDAP, CalDAV, CardDAV, Mysql, Backblaze, ... description: A Dropbox-like file manager that let you manage your data anywhere it is located.
home: https://truecharts.org/charts/incubator/filestash home: https://truecharts.org/charts/incubator/filestash
icon: https://truecharts.org/img/hotlink-ok/chart-icons/filestash.png icon: https://truecharts.org/img/hotlink-ok/chart-icons/filestash.png
keywords: keywords:
@ -27,6 +21,11 @@ maintainers:
name: filestash name: filestash
sources: sources:
- https://github.com/truecharts/charts/tree/master/charts/incubator/filestash - https://github.com/truecharts/charts/tree/master/charts/incubator/filestash
- https://github.com/mickael-kerjean/filestash
- https://www.filestash.app/ - https://www.filestash.app/
type: application type: application
version: 2.0.17 version: 3.0.0
annotations:
truecharts.org/catagories: |
- Cloud
truecharts.org/SCALE-support: "true"

View File

@ -10,29 +10,59 @@ questions:
# Include{replicas1} # Include{replicas1}
# Include{podSpec} # Include{podSpec}
# Include{containerMain} # Include{containerMain}
# Include{containerBasic}
# Include{containerAdvanced}
# Include{containerConfig} - variable: env
# Include{serviceRoot} label: Image Environment
- variable: main
label: "Main Service"
description: "The Primary service on which the healthcheck runs, often the webUI"
schema: schema:
additional_attrs: true additional_attrs: true
type: dict type: dict
attrs: attrs:
- variable: APPLICATION_URL
label: Application Url
description: "Configure it either as http://ip:port or as https://mydomain.tld."
schema:
type: string
required: true
default: "http://localhost:8334"
- variable: GDRIVE_CLIENT_ID
label: Google Drive Client ID
schema:
type: string
default: ""
- variable: GDRIVE_CLIENT_SECRET
label: Google Drive Client Secret
schema:
type: string
private: true
default: ""
- variable: DROPBOX_CLIENT_ID
label: DropBox Client ID
schema:
type: string
default: ""
- variable: ONLYOFFICE_URL
label: Only Office Url
schema:
type: string
default: ""
# Include{containerBasic}
# Include{containerAdvanced}
# Include{containerConfig}
# Include{podOptions}
# Include{serviceRoot}
# Include{serviceMain}
# Include{serviceSelectorLoadBalancer} # Include{serviceSelectorLoadBalancer}
# Include{serviceSelectorExtras} # Include{serviceSelectorExtras}
- variable: main - variable: main
label: "Main Service Port Configuration" label: Main Service Port Configuration
schema: schema:
additional_attrs: true additional_attrs: true
type: dict type: dict
attrs: attrs:
- variable: port - variable: port
label: "Port" label: Port
description: "This port exposes the container port on the service" description: This port exposes the container port on the service
schema: schema:
type: int type: int
default: 8334 default: 8334
@ -41,9 +71,9 @@ questions:
# Include{serviceExpert} # Include{serviceExpert}
# Include{serviceList} # Include{serviceList}
# Include{persistenceRoot} # Include{persistenceRoot}
- variable: appdata - variable: data
label: "appdata Storage" label: App Data Storage
description: "Container Path appdatastate" description: Stores the Application Data.
schema: schema:
additional_attrs: true additional_attrs: true
type: dict type: dict
@ -52,7 +82,7 @@ questions:
# Include{persistenceList} # Include{persistenceList}
# Include{ingressRoot} # Include{ingressRoot}
- variable: main - variable: main
label: "Main Ingress" label: Main Ingress
schema: schema:
additional_attrs: true additional_attrs: true
type: dict type: dict
@ -65,14 +95,14 @@ questions:
# Include{securityContextRoot} # Include{securityContextRoot}
- variable: runAsUser - variable: runAsUser
label: "runAsUser" label: runAsUser
description: "The UserID of the user running the application" description: The UserID of the user running the application
schema: schema:
type: int type: int
default: 0 default: 0
- variable: runAsGroup - variable: runAsGroup
label: "runAsGroup" label: runAsGroup
description: "The groupID of the user running the application" description: The groupID this App of the user running the application
schema: schema:
type: int type: int
default: 0 default: 0
@ -80,8 +110,8 @@ questions:
# Include{securityContextAdvanced} # Include{securityContextAdvanced}
# Include{securityContextPod} # Include{securityContextPod}
- variable: fsGroup - variable: fsGroup
label: "fsGroup" label: fsGroup
description: "The group that should own ALL storage." description: The group that should own ALL storage.
schema: schema:
type: int type: int
default: 568 default: 568

View File

@ -0,0 +1 @@
{{- include "tc.v1.common.lib.chart.notes" $ -}}

View File

@ -1,2 +1 @@
{{/* Render the templates */}} {{ include "tc.v1.common.loader.all" . }}
{{ include "tc.common.loader.all" . }}

View File

@ -1,25 +1,40 @@
env: {}
image: image:
pullPolicy: IfNotPresent pullPolicy: IfNotPresent
repository: tccr.io/truecharts/filestash repository: tccr.io/truecharts/filestash
tag: latest@sha256:a541026ec3eaaa67cc568b4fffd006460965eb6a408a512d841d1c06213ea9eb tag: latest@sha256:fdf1d947d1aeb0dcd2532dbbb4af1b8bae06e077e7fb9ce66b0a7d59ba18bd1e
persistence:
appdata:
enabled: true
mountPath: /app/data/state/
podSecurityContext:
runAsGroup: 0
runAsUser: 0
securityContext: securityContext:
readOnlyRootFilesystem: false container:
runAsNonRoot: false runAsNonRoot: false
readOnlyRootFilesystem: false
runAsUser: 0
runAsGroup: 0
service: service:
main: main:
ports: ports:
main: main:
port: 8334 protocol: http
protocol: TCP
targetPort: 8334 targetPort: 8334
port: 8334
workload:
main:
podSpec:
containers:
main:
env:
APPLICATION_URL: "http://localhost:8334"
GDRIVE_CLIENT_ID: ""
GDRIVE_CLIENT_SECRET: ""
DROPBOX_CLIENT_ID: ""
ONLYOFFICE_URL: ""
persistence:
data:
enabled: true
mountPath: /app/data/state
portal: portal:
open:
enabled: true enabled: true