fix(kiwix-serve): Serve all .zim files in the data dir (#3848)
* fix(kiwix-serve): Serve all .zim files in the data dir * whops * add installation notes * move to stable * Update charts/stable/kiwix-serve/questions.yaml Signed-off-by: Stavros Kois <47820033+stavros-k@users.noreply.github.com> Signed-off-by: Stavros Kois <47820033+stavros-k@users.noreply.github.com>
This commit is contained in:
@@ -1,7 +1,3 @@
|
|||||||
annotations:
|
|
||||||
truecharts.org/SCALE-support: "true"
|
|
||||||
truecharts.org/catagories: |
|
|
||||||
- Productivity
|
|
||||||
apiVersion: v2
|
apiVersion: v2
|
||||||
appVersion: "latest"
|
appVersion: "latest"
|
||||||
dependencies:
|
dependencies:
|
||||||
@@ -9,7 +5,7 @@ dependencies:
|
|||||||
repository: https://library-charts.truecharts.org
|
repository: https://library-charts.truecharts.org
|
||||||
version: 10.5.10
|
version: 10.5.10
|
||||||
deprecated: false
|
deprecated: false
|
||||||
description: Kiwix enables you to have the whole Wikipedia at hand wherever you go! [br]Remove download link after download complete.[/br]
|
description: Kiwix enables you to have the whole Wikipedia at hand wherever you go!
|
||||||
home: https://truecharts.org/docs/charts/incubator/kiwix-serve
|
home: https://truecharts.org/docs/charts/incubator/kiwix-serve
|
||||||
icon: https://truecharts.org/img/hotlink-ok/chart-icons/kiwix-serve.png
|
icon: https://truecharts.org/img/hotlink-ok/chart-icons/kiwix-serve.png
|
||||||
keywords:
|
keywords:
|
||||||
@@ -25,5 +21,10 @@ sources:
|
|||||||
- https://github.com/truecharts/charts/tree/master/charts/incubator/kiwix-serve
|
- https://github.com/truecharts/charts/tree/master/charts/incubator/kiwix-serve
|
||||||
- https://www.kiwix.org/
|
- https://www.kiwix.org/
|
||||||
- https://hub.docker.com/r/kiwix/kiwix-serve/
|
- https://hub.docker.com/r/kiwix/kiwix-serve/
|
||||||
|
- https://github.com/kiwix/kiwix-tools/blob/master/docker/server
|
||||||
type: application
|
type: application
|
||||||
version: 0.0.27
|
version: 1.0.0
|
||||||
|
annotations:
|
||||||
|
truecharts.org/SCALE-support: "true"
|
||||||
|
truecharts.org/catagories: |
|
||||||
|
- Productivity
|
||||||
@@ -0,0 +1,16 @@
|
|||||||
|
# Installation Notes
|
||||||
|
|
||||||
|
You need to have at least one `.zim` file.
|
||||||
|
|
||||||
|
You can download a `.zim` file from [here](https://wiki.kiwix.org/wiki/Content)
|
||||||
|
|
||||||
|
## ZIM Files
|
||||||
|
|
||||||
|
For 1 `.zim` file:
|
||||||
|
|
||||||
|
- Enter the download link in the `DOWNLOAD` field box. You have to remove the link afterwards,
|
||||||
|
otherwise it will keep re-downloading the file on each start.
|
||||||
|
|
||||||
|
For 1 or more `.zim` files:
|
||||||
|
|
||||||
|
- Mount `Data Storage` to a Host Path, and place your `.zim` files there.
|
||||||
|
Before Width: | Height: | Size: 2.9 KiB After Width: | Height: | Size: 2.9 KiB |
+27
-27
@@ -13,23 +13,23 @@ questions:
|
|||||||
# Include{controllerExpert}
|
# Include{controllerExpert}
|
||||||
# Include{controllerExpertExtraArgs}
|
# Include{controllerExpertExtraArgs}
|
||||||
- variable: env
|
- variable: env
|
||||||
group: "Container Configuration"
|
group: Container Configuration
|
||||||
label: "Image Environment"
|
label: Image Environment
|
||||||
schema:
|
schema:
|
||||||
additional_attrs: true
|
additional_attrs: true
|
||||||
type: dict
|
type: dict
|
||||||
attrs:
|
attrs:
|
||||||
- variable: DOWNLOAD
|
- variable: DOWNLOAD
|
||||||
label: "DOWNLOAD"
|
label: DOWNLOAD
|
||||||
description: "Add download link here to download contents httpswiki.kiwix.orgwikiContent"
|
description: Add download link here to download contents https://wiki.kiwix.org/wiki/Content. You have to remove link after it's downloaded.
|
||||||
schema:
|
schema:
|
||||||
type: string
|
type: string
|
||||||
default: "http://download.kiwix.org/zim/wikipedia_en_chemistry_nopic.zim"
|
default: ""
|
||||||
# Include{containerConfig}
|
# Include{containerConfig}
|
||||||
# Include{serviceRoot}
|
# Include{serviceRoot}
|
||||||
- variable: main
|
- variable: main
|
||||||
label: "Main Service"
|
label: Main Service
|
||||||
description: "The Primary service on which the healthcheck runs, often the webUI"
|
description: The Primary service on which the healthcheck runs, often the webUI
|
||||||
schema:
|
schema:
|
||||||
additional_attrs: true
|
additional_attrs: true
|
||||||
type: dict
|
type: dict
|
||||||
@@ -37,22 +37,22 @@ questions:
|
|||||||
# 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: 8040
|
default: 10323
|
||||||
required: true
|
required: true
|
||||||
# Include{advancedPortTCP}
|
# Include{advancedPortHTTP}
|
||||||
- variable: targetPort
|
- variable: targetPort
|
||||||
label: "Target Port"
|
label: Target Port
|
||||||
description: "The internal(!) port on the container the Application runs on"
|
description: The internal(!) port on the container the Application runs on
|
||||||
schema:
|
schema:
|
||||||
type: int
|
type: int
|
||||||
default: 80
|
default: 80
|
||||||
@@ -62,8 +62,8 @@ questions:
|
|||||||
# Include{serviceList}
|
# Include{serviceList}
|
||||||
# Include{persistenceRoot}
|
# Include{persistenceRoot}
|
||||||
- variable: data
|
- variable: data
|
||||||
label: "data Storage"
|
label: data Storage
|
||||||
description: "Container Path data"
|
description: Container Path data
|
||||||
schema:
|
schema:
|
||||||
additional_attrs: true
|
additional_attrs: true
|
||||||
type: dict
|
type: dict
|
||||||
@@ -73,7 +73,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
|
||||||
@@ -86,42 +86,42 @@ questions:
|
|||||||
# Include{security}
|
# Include{security}
|
||||||
# Include{securityContextAdvancedRoot}
|
# Include{securityContextAdvancedRoot}
|
||||||
- variable: privileged
|
- variable: privileged
|
||||||
label: "Privileged mode"
|
label: Privileged mode
|
||||||
schema:
|
schema:
|
||||||
type: boolean
|
type: boolean
|
||||||
default: false
|
default: false
|
||||||
- variable: readOnlyRootFilesystem
|
- variable: readOnlyRootFilesystem
|
||||||
label: "ReadOnly Root Filesystem"
|
label: ReadOnly Root Filesystem
|
||||||
schema:
|
schema:
|
||||||
type: boolean
|
type: boolean
|
||||||
default: false
|
default: false
|
||||||
- variable: allowPrivilegeEscalation
|
- variable: allowPrivilegeEscalation
|
||||||
label: "Allow Privilege Escalation"
|
label: Allow Privilege Escalation
|
||||||
schema:
|
schema:
|
||||||
type: boolean
|
type: boolean
|
||||||
default: false
|
default: false
|
||||||
- variable: runAsNonRoot
|
- variable: runAsNonRoot
|
||||||
label: "runAsNonRoot"
|
label: runAsNonRoot
|
||||||
schema:
|
schema:
|
||||||
type: boolean
|
type: boolean
|
||||||
default: false
|
default: false
|
||||||
# Include{securityContextAdvanced}
|
# Include{securityContextAdvanced}
|
||||||
# Include{podSecurityContextRoot}
|
# Include{podSecurityContextRoot}
|
||||||
- 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 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: 0
|
||||||
- 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
|
||||||
@@ -1,26 +1,33 @@
|
|||||||
env:
|
|
||||||
DOWNLOAD: http://download.kiwix.org/zim/wikipedia_en_chemistry_nopic.zim
|
|
||||||
image:
|
image:
|
||||||
pullPolicy: IfNotPresent
|
pullPolicy: IfNotPresent
|
||||||
repository: tccr.io/truecharts/kiwix-serve
|
repository: tccr.io/truecharts/kiwix-serve
|
||||||
tag: latest@sha256:30bc36fa6d197997987d2f11d3beb6b7f7d87cdff5fbabc30763441a106515de
|
tag: v3.3.0@sha256:1b4f364630ed6bf4431ab7c79551fee25f594555b84f31d3449af2397b880fa5
|
||||||
persistence:
|
|
||||||
data:
|
args: ["*.zim"]
|
||||||
enabled: true
|
|
||||||
mountPath: /data
|
|
||||||
podSecurityContext:
|
podSecurityContext:
|
||||||
runAsGroup: 0
|
runAsGroup: 0
|
||||||
runAsUser: 0
|
runAsUser: 0
|
||||||
|
|
||||||
securityContext:
|
securityContext:
|
||||||
readOnlyRootFilesystem: false
|
readOnlyRootFilesystem: false
|
||||||
runAsNonRoot: false
|
runAsNonRoot: false
|
||||||
|
|
||||||
|
env:
|
||||||
|
DOWNLOAD: http://download.kiwix.org/zim/wikipedia_en_chemistry_nopic.zim
|
||||||
|
|
||||||
service:
|
service:
|
||||||
main:
|
main:
|
||||||
ports:
|
ports:
|
||||||
main:
|
main:
|
||||||
port: 8040
|
port: 10323
|
||||||
protocol: TCP
|
protocol: HTTP
|
||||||
targetPort: 80
|
targetPort: 80
|
||||||
|
|
||||||
|
persistence:
|
||||||
|
data:
|
||||||
|
enabled: true
|
||||||
|
mountPath: /data
|
||||||
|
|
||||||
portal:
|
portal:
|
||||||
enabled: true
|
enabled: true
|
||||||
+2
-1
@@ -61,9 +61,9 @@ words:
|
|||||||
- entrypoints
|
- entrypoints
|
||||||
- eptgmk
|
- eptgmk
|
||||||
- fireshare
|
- fireshare
|
||||||
|
- flatnotes
|
||||||
- flemarr
|
- flemarr
|
||||||
- Flemmarr
|
- Flemmarr
|
||||||
- flatnotes
|
|
||||||
- flushtables
|
- flushtables
|
||||||
- forcegc
|
- forcegc
|
||||||
- fullname
|
- fullname
|
||||||
@@ -100,6 +100,7 @@ words:
|
|||||||
- jovyan
|
- jovyan
|
||||||
- keepalive
|
- keepalive
|
||||||
- killswitch
|
- killswitch
|
||||||
|
- Kiwix
|
||||||
- kjeld
|
- kjeld
|
||||||
- kube
|
- kube
|
||||||
- kubeconfig
|
- kubeconfig
|
||||||
|
|||||||
Reference in New Issue
Block a user