@@ -1,10 +1,3 @@
|
|||||||
annotations:
|
|
||||||
truecharts.org/SCALE-support: "true"
|
|
||||||
truecharts.org/catagories: |
|
|
||||||
- Cloud
|
|
||||||
- Tools-Utilities
|
|
||||||
- Network-Web
|
|
||||||
- Network-FTP
|
|
||||||
apiVersion: v2
|
apiVersion: v2
|
||||||
appVersion: "latest"
|
appVersion: "latest"
|
||||||
dependencies:
|
dependencies:
|
||||||
@@ -12,15 +5,13 @@ dependencies:
|
|||||||
repository: https://library-charts.truecharts.org
|
repository: https://library-charts.truecharts.org
|
||||||
version: 10.4.8
|
version: 10.4.8
|
||||||
deprecated: false
|
deprecated: false
|
||||||
description: "DESCRIPTION\r\n"
|
description: "Gokapi is a lightweight server to share files, which expire after a set amount of downloads or days."
|
||||||
home: https://github.com/truecharts/charts/tree/master/charts/incubator/gokapi
|
home: https://github.com/truecharts/charts/tree/master/charts/incubator/gokapi
|
||||||
icon: https://truecharts.org/img/chart-icons/gokapi.png
|
icon: https://truecharts.org/img/chart-icons/gokapi.png
|
||||||
keywords:
|
keywords:
|
||||||
- gokapi
|
- gokapi
|
||||||
- Cloud
|
- cloud
|
||||||
- Tools-Utilities
|
- utilities
|
||||||
- Network-Web
|
|
||||||
- Network-FTP
|
|
||||||
kubeVersion: ">=1.16.0-0"
|
kubeVersion: ">=1.16.0-0"
|
||||||
maintainers:
|
maintainers:
|
||||||
- email: info@truecharts.org
|
- email: info@truecharts.org
|
||||||
@@ -31,4 +22,9 @@ sources:
|
|||||||
- https://github.com/Forceu/gokapi
|
- https://github.com/Forceu/gokapi
|
||||||
- https://hub.docker.com/r/f0rc3/gokapi
|
- https://hub.docker.com/r/f0rc3/gokapi
|
||||||
type: application
|
type: application
|
||||||
version: 0.0.14
|
version: 0.0.15
|
||||||
|
annotations:
|
||||||
|
truecharts.org/SCALE-support: "true"
|
||||||
|
truecharts.org/catagories: |
|
||||||
|
- cloud
|
||||||
|
- utilities
|
||||||
|
|||||||
@@ -24,7 +24,6 @@ questions:
|
|||||||
type: boolean
|
type: boolean
|
||||||
default: true
|
default: true
|
||||||
# Include{global}
|
# Include{global}
|
||||||
|
|
||||||
- variable: controller
|
- variable: controller
|
||||||
group: "Controller"
|
group: "Controller"
|
||||||
label: ""
|
label: ""
|
||||||
@@ -75,7 +74,26 @@ questions:
|
|||||||
- value: "OnDelete"
|
- value: "OnDelete"
|
||||||
description: "(Legacy) OnDelete: ignore .spec.template changes"
|
description: "(Legacy) OnDelete: ignore .spec.template changes"
|
||||||
# Include{controllerExpert}
|
# Include{controllerExpert}
|
||||||
|
- variable: secretEnv
|
||||||
|
group: "Container Configuration"
|
||||||
|
label: "Image Secrets"
|
||||||
|
schema:
|
||||||
|
additional_attrs: true
|
||||||
|
type: dict
|
||||||
|
attrs:
|
||||||
|
- variable: GOKAPI_USERNAME
|
||||||
|
label: "GOKAPI_USERNAME"
|
||||||
|
schema:
|
||||||
|
type: string
|
||||||
|
required: true
|
||||||
|
default: ""
|
||||||
|
- variable: GOKAPI_PASSWORD
|
||||||
|
label: "GOKAPI_PASSWORD"
|
||||||
|
schema:
|
||||||
|
type: string
|
||||||
|
required: true
|
||||||
|
private: true
|
||||||
|
default: ""
|
||||||
- variable: env
|
- variable: env
|
||||||
group: "Container Configuration"
|
group: "Container Configuration"
|
||||||
label: "Image Environment"
|
label: "Image Environment"
|
||||||
@@ -83,30 +101,65 @@ questions:
|
|||||||
additional_attrs: true
|
additional_attrs: true
|
||||||
type: dict
|
type: dict
|
||||||
attrs:
|
attrs:
|
||||||
|
|
||||||
- variable: GOKAPI_USERNAME
|
|
||||||
label: 'GOKAPI_USERNAME'
|
|
||||||
schema:
|
|
||||||
type: string
|
|
||||||
default: "unraid"
|
|
||||||
- variable: GOKAPI_PASSWORD
|
|
||||||
label: 'GOKAPI_PASSWORD'
|
|
||||||
schema:
|
|
||||||
type: string
|
|
||||||
default: "unraid"
|
|
||||||
- variable: GOKAPI_LENGTH_ID
|
- variable: GOKAPI_LENGTH_ID
|
||||||
label: 'GOKAPI_LENGTH_ID'
|
label: "GOKAPI_LENGTH_ID"
|
||||||
|
description: "Sets the length of the download IDs."
|
||||||
schema:
|
schema:
|
||||||
type: string
|
type: int
|
||||||
default: "10"
|
default: 15
|
||||||
- variable: GOKAPI_MAX_FILESIZE
|
- variable: GOKAPI_MAX_FILESIZE
|
||||||
label: 'GOKAPI_MAX_FILESIZE'
|
label: "GOKAPI_MAX_FILESIZE"
|
||||||
|
description: "Sets the maximum allowed file size in MB"
|
||||||
schema:
|
schema:
|
||||||
type: string
|
type: int
|
||||||
default: "5"
|
default: 102400
|
||||||
|
- variable: GOKAPI_MAX_MEMORY_UPLOAD
|
||||||
|
label: "GOKAPI_MAX_MEMORY_UPLOAD"
|
||||||
|
description: "Sets the amount of RAM in MB that can be allocated for an upload. Any upload with a size greater than that will be written to a temporary file"
|
||||||
|
schema:
|
||||||
|
type: int
|
||||||
|
default: 20
|
||||||
|
- variable: awsconfig
|
||||||
|
label: "Configure AWS Storage"
|
||||||
|
description: "Sets the amount of RAM in MB that can be allocated for an upload. Any upload with a size greater than that will be written to a temporary file"
|
||||||
|
schema:
|
||||||
|
type: boolean
|
||||||
|
default: false
|
||||||
|
show_subquestions_if: true
|
||||||
|
subquestions:
|
||||||
|
- variable: GOKAPI_AWS_BUCKET
|
||||||
|
label: "GOKAPI_AWS_BUCKET"
|
||||||
|
description: "Sets the bucket name"
|
||||||
|
schema:
|
||||||
|
type: string
|
||||||
|
default: ""
|
||||||
|
- variable: GOKAPI_AWS_REGION
|
||||||
|
label: "GOKAPI_AWS_REGION"
|
||||||
|
description: "Sets the region name"
|
||||||
|
schema:
|
||||||
|
type: string
|
||||||
|
default: ""
|
||||||
|
- variable: GOKAPI_AWS_KEY
|
||||||
|
label: "GOKAPI_AWS_KEY"
|
||||||
|
description: "Sets the API key"
|
||||||
|
schema:
|
||||||
|
type: string
|
||||||
|
private: true
|
||||||
|
default: ""
|
||||||
|
- variable: GOKAPI_AWS_KEY_SECRET
|
||||||
|
label: "GOKAPI_AWS_KEY_SECRET"
|
||||||
|
description: "Sets the API key secret"
|
||||||
|
schema:
|
||||||
|
type: string
|
||||||
|
private: true
|
||||||
|
default: ""
|
||||||
|
- variable: GOKAPI_AWS_ENDPOINT
|
||||||
|
label: "GOKAPI_AWS_ENDPOINT"
|
||||||
|
description: "Sets the endpoint"
|
||||||
|
schema:
|
||||||
|
type: string
|
||||||
|
default: ""
|
||||||
# Include{containerConfig}
|
# Include{containerConfig}
|
||||||
|
|
||||||
- variable: service
|
- variable: service
|
||||||
group: "Networking and Services"
|
group: "Networking and Services"
|
||||||
label: "Configure Service(s)"
|
label: "Configure Service(s)"
|
||||||
@@ -146,7 +199,7 @@ questions:
|
|||||||
label: "Port Type"
|
label: "Port Type"
|
||||||
schema:
|
schema:
|
||||||
type: string
|
type: string
|
||||||
default: TCP
|
default: HTTP
|
||||||
enum:
|
enum:
|
||||||
- value: HTTP
|
- value: HTTP
|
||||||
description: "HTTP"
|
description: "HTTP"
|
||||||
@@ -169,9 +222,6 @@ questions:
|
|||||||
schema:
|
schema:
|
||||||
type: int
|
type: int
|
||||||
default: 53842
|
default: 53842
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
- variable: serviceexpert
|
- variable: serviceexpert
|
||||||
group: "Networking and Services"
|
group: "Networking and Services"
|
||||||
label: "Show Expert Config"
|
label: "Show Expert Config"
|
||||||
@@ -186,11 +236,8 @@ questions:
|
|||||||
schema:
|
schema:
|
||||||
type: boolean
|
type: boolean
|
||||||
default: false
|
default: false
|
||||||
|
|
||||||
# Include{serviceExpert}
|
# Include{serviceExpert}
|
||||||
|
|
||||||
# Include{serviceList}
|
# Include{serviceList}
|
||||||
|
|
||||||
- variable: persistence
|
- variable: persistence
|
||||||
label: "Integrated Persistent Storage"
|
label: "Integrated Persistent Storage"
|
||||||
description: "Integrated Persistent Storage"
|
description: "Integrated Persistent Storage"
|
||||||
@@ -199,7 +246,6 @@ questions:
|
|||||||
additional_attrs: true
|
additional_attrs: true
|
||||||
type: dict
|
type: dict
|
||||||
attrs:
|
attrs:
|
||||||
|
|
||||||
- variable: config
|
- variable: config
|
||||||
label: "config Storage"
|
label: "config Storage"
|
||||||
schema:
|
schema:
|
||||||
@@ -216,11 +262,7 @@ questions:
|
|||||||
attrs:
|
attrs:
|
||||||
# Include{persistenceBasic}
|
# Include{persistenceBasic}
|
||||||
# Include{persistenceAdvanced}
|
# Include{persistenceAdvanced}
|
||||||
|
|
||||||
|
|
||||||
# Include{persistenceList}
|
# Include{persistenceList}
|
||||||
|
|
||||||
|
|
||||||
- variable: ingress
|
- variable: ingress
|
||||||
label: ""
|
label: ""
|
||||||
group: "Ingress"
|
group: "Ingress"
|
||||||
@@ -235,17 +277,11 @@ questions:
|
|||||||
type: dict
|
type: dict
|
||||||
attrs:
|
attrs:
|
||||||
# Include{ingressDefault}
|
# Include{ingressDefault}
|
||||||
|
|
||||||
# Include{ingressTLS}
|
# Include{ingressTLS}
|
||||||
|
|
||||||
# Include{ingressTraefik}
|
# Include{ingressTraefik}
|
||||||
|
|
||||||
# Include{ingressExpert}
|
# Include{ingressExpert}
|
||||||
|
|
||||||
# Include{ingressList}
|
# Include{ingressList}
|
||||||
|
|
||||||
# Include{security}
|
# Include{security}
|
||||||
|
|
||||||
- variable: advancedSecurity
|
- variable: advancedSecurity
|
||||||
label: "Show Advanced Security Settings"
|
label: "Show Advanced Security Settings"
|
||||||
group: "Security and Permissions"
|
group: "Security and Permissions"
|
||||||
@@ -269,7 +305,7 @@ questions:
|
|||||||
label: "ReadOnly Root Filesystem"
|
label: "ReadOnly Root Filesystem"
|
||||||
schema:
|
schema:
|
||||||
type: boolean
|
type: boolean
|
||||||
default: false
|
default: true
|
||||||
- variable: allowPrivilegeEscalation
|
- variable: allowPrivilegeEscalation
|
||||||
label: "Allow Privilege Escalation"
|
label: "Allow Privilege Escalation"
|
||||||
schema:
|
schema:
|
||||||
@@ -279,9 +315,8 @@ questions:
|
|||||||
label: "runAsNonRoot"
|
label: "runAsNonRoot"
|
||||||
schema:
|
schema:
|
||||||
type: boolean
|
type: boolean
|
||||||
default: false
|
default: true
|
||||||
# Include{securityContextAdvanced}
|
# Include{securityContextAdvanced}
|
||||||
|
|
||||||
- variable: podSecurityContext
|
- variable: podSecurityContext
|
||||||
group: "Security and Permissions"
|
group: "Security and Permissions"
|
||||||
label: "Pod Security Context"
|
label: "Pod Security Context"
|
||||||
@@ -294,13 +329,13 @@ questions:
|
|||||||
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: 568
|
||||||
- variable: runAsGroup
|
- variable: runAsGroup
|
||||||
label: "runAsGroup"
|
label: "runAsGroup"
|
||||||
description: The groupID this App 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: 568
|
||||||
- variable: fsGroup
|
- variable: fsGroup
|
||||||
label: "fsGroup"
|
label: "fsGroup"
|
||||||
description: "The group that should own ALL storage."
|
description: "The group that should own ALL storage."
|
||||||
@@ -308,10 +343,6 @@ questions:
|
|||||||
type: int
|
type: int
|
||||||
default: 568
|
default: 568
|
||||||
# Include{podSecurityContextAdvanced}
|
# Include{podSecurityContextAdvanced}
|
||||||
|
|
||||||
|
|
||||||
# Include{resources}
|
# Include{resources}
|
||||||
|
|
||||||
# Include{advanced}
|
# Include{advanced}
|
||||||
|
|
||||||
# Include{addons}
|
# Include{addons}
|
||||||
|
|||||||
@@ -1,12 +1,30 @@
|
|||||||
env:
|
|
||||||
GOKAPI_LENGTH_ID: "10"
|
|
||||||
GOKAPI_MAX_FILESIZE: "5"
|
|
||||||
GOKAPI_PASSWORD: unraid
|
|
||||||
GOKAPI_USERNAME: unraid
|
|
||||||
image:
|
image:
|
||||||
pullPolicy: IfNotPresent
|
pullPolicy: IfNotPresent
|
||||||
repository: tccr.io/truecharts/gokapi
|
repository: tccr.io/truecharts/gokapi
|
||||||
tag: latest@sha256:aafdd8cc0e9ce3b45d64975be16e243de1527a1ab90e99f5b4c055ba03214996
|
tag: v1.5.2@sha256:6f42eaf2678c9aaccd208a8441237906911220d7ed818798523da5aec31d13df
|
||||||
|
|
||||||
|
secretEnv:
|
||||||
|
GOKAPI_PASSWORD: "changme"
|
||||||
|
GOKAPI_USERNAME: "admin"
|
||||||
|
|
||||||
|
env:
|
||||||
|
GOKAPI_LENGTH_ID: 15
|
||||||
|
GOKAPI_MAX_FILESIZE: 102400
|
||||||
|
GOKAPI_MAX_MEMORY_UPLOAD: 20
|
||||||
|
# GOKAPI_AWS_BUCKET: ""
|
||||||
|
# GOKAPI_AWS_REGION: ""
|
||||||
|
# GOKAPI_AWS_KEY: ""
|
||||||
|
# GOKAPI_AWS_KEY_SECRET: ""
|
||||||
|
# GOKAPI_AWS_ENDPOINT: ""
|
||||||
|
|
||||||
|
service:
|
||||||
|
main:
|
||||||
|
ports:
|
||||||
|
main:
|
||||||
|
port: 53842
|
||||||
|
protocol: HTTP
|
||||||
|
targetPort: 53842
|
||||||
|
|
||||||
persistence:
|
persistence:
|
||||||
config:
|
config:
|
||||||
enabled: true
|
enabled: true
|
||||||
@@ -14,18 +32,3 @@ persistence:
|
|||||||
data:
|
data:
|
||||||
enabled: true
|
enabled: true
|
||||||
mountPath: /app/data
|
mountPath: /app/data
|
||||||
podSecurityContext:
|
|
||||||
runAsGroup: 0
|
|
||||||
runAsUser: 0
|
|
||||||
securityContext:
|
|
||||||
readOnlyRootFilesystem: false
|
|
||||||
runAsNonRoot: false
|
|
||||||
service:
|
|
||||||
main:
|
|
||||||
enabled: true
|
|
||||||
ports:
|
|
||||||
main:
|
|
||||||
enabled: true
|
|
||||||
port: 53842
|
|
||||||
protocol: TCP
|
|
||||||
targetPort: 53842
|
|
||||||
|
|||||||
Reference in New Issue
Block a user