diff --git a/charts/incubator/booklore/.helmignore b/charts/incubator/booklore/.helmignore new file mode 100644 index 00000000000..feb7464da6f --- /dev/null +++ b/charts/incubator/booklore/.helmignore @@ -0,0 +1,32 @@ +# Patterns to ignore when building packages. +# This supports shell glob matching, relative path matching, and +# negation (prefixed with !). Only one pattern per line. +.DS_Store +# Common VCS dirs +.git/ +.gitignore +.bzr/ +.bzrignore +.hg/ +.hgignore +.svn/ +# Common backup files +*.swp +*.bak +*.tmp +*~ +# Various IDEs +.project +.idea/ +*.tmproj +.vscode/ +# OWNERS file for Kubernetes +OWNERS +# helm-docs templates +*.gotmpl +# docs folder +/docs +# icon +icon.png +icon.webp +icon-small.webp diff --git a/charts/incubator/booklore/CHANGELOG.md b/charts/incubator/booklore/CHANGELOG.md new file mode 100644 index 00000000000..f3e8318aa10 --- /dev/null +++ b/charts/incubator/booklore/CHANGELOG.md @@ -0,0 +1,4 @@ +--- +title: Changelog +pagefind: false +--- diff --git a/charts/incubator/booklore/Chart.yaml b/charts/incubator/booklore/Chart.yaml new file mode 100644 index 00000000000..2a6af4f366d --- /dev/null +++ b/charts/incubator/booklore/Chart.yaml @@ -0,0 +1,51 @@ +annotations: + artifacthub.io/links: |- + - name: support + url: https://discord.com/invite/tVsPTHWTtr + max_scale_version: 24.04.1 + min_scale_version: 24.04.0 + truecharts.org/category: media + truecharts.org/max_helm_version: "3.17" + truecharts.org/max_kubernetes_version: 1.32.0 + truecharts.org/min_helm_version: "3.14" + truecharts.org/min_kubernetes_version: 1.24.0 + truecharts.org/train: incubator +apiVersion: v2 +appVersion: 0.34.0 +dependencies: + - name: common + version: 28.26.1 + repository: oci://oci.trueforge.org/truecharts + condition: "" + alias: "" + tags: [] + import-values: [] + - name: mariadb + version: 17.9.1 + repository: oci://oci.trueforge.org/truecharts + condition: mariadb.enabled + alias: "" + tags: [] + import-values: [] +deprecated: false +description: A self-hosted, multi-user digital library with smart shelves, auto metadata, Kobo & KOReader sync, BookDrop imports, OPDS support, and a built-in reader for EPUB, PDF, and comics +home: https://truecharts.org/charts/incubator/booklore +icon: https://truecharts.org/img/hotlink-ok/chart-icons/booklore.webp +keywords: + - booklore + - MediaApp-Other +kubeVersion: '>=1.24.0-0' +maintainers: + - name: TrueCharts + email: info@truecharts.org + url: https://truecharts.org +name: booklore +sources: + - https://github.com/booklore-app/booklore + - https://github.com/truecharts/charts/tree/master/charts/incubator/booklore + - https://github.com/trueforge-org/truecharts/tree/master/charts/incubator/booklore + - https://hub.docker.com/r/booklore/booklore + - https://ghcr.io/booklore-app/booklore +type: application +version: 0.0.1 + diff --git a/charts/incubator/booklore/README.md b/charts/incubator/booklore/README.md new file mode 100644 index 00000000000..2b8cc49d247 --- /dev/null +++ b/charts/incubator/booklore/README.md @@ -0,0 +1,3 @@ +--- +title: README +--- diff --git a/charts/incubator/booklore/docs/installation_notes.md b/charts/incubator/booklore/docs/installation_notes.md new file mode 100644 index 00000000000..da9a3785682 --- /dev/null +++ b/charts/incubator/booklore/docs/installation_notes.md @@ -0,0 +1,25 @@ +--- +title: Add Books Directory +--- + +Following is an example on how to add your own book shares: + +```yaml +persistence: + ... + # Your own books directory (if needed) + books: + enabled: true + mountPath: /books + path: /mnt/tank/booklore/books + server: ${NFS_SERVER_IP} + type: nfs + + # Your own bookdrop directory for easily importing books + bookdrop: + enabled: true + mountPath: /bookdrop + path: /mnt/tank/booklore/bookdrop + server: ${NFS_SERVER_IP} + type: nfs +``` diff --git a/charts/incubator/booklore/icon.png b/charts/incubator/booklore/icon.png new file mode 100644 index 00000000000..0526306c65f Binary files /dev/null and b/charts/incubator/booklore/icon.png differ diff --git a/charts/incubator/booklore/templates/NOTES.txt b/charts/incubator/booklore/templates/NOTES.txt new file mode 100644 index 00000000000..efcb74cb772 --- /dev/null +++ b/charts/incubator/booklore/templates/NOTES.txt @@ -0,0 +1 @@ +{{- include "tc.v1.common.lib.chart.notes" $ -}} diff --git a/charts/incubator/booklore/templates/common.yaml b/charts/incubator/booklore/templates/common.yaml new file mode 100644 index 00000000000..b51394e00a4 --- /dev/null +++ b/charts/incubator/booklore/templates/common.yaml @@ -0,0 +1 @@ +{{ include "tc.v1.common.loader.all" . }} diff --git a/charts/incubator/booklore/values.yaml b/charts/incubator/booklore/values.yaml new file mode 100644 index 00000000000..6e3df9f9910 --- /dev/null +++ b/charts/incubator/booklore/values.yaml @@ -0,0 +1,38 @@ +image: + pullPolicy: IfNotPresent + repository: ghcr.io/booklore-app/booklore + tag: v1.8.1@sha256:6b2250cd1a8e13f4e458b5dd2ffe30ed9696482061f27954a97463ffcce677a2 +service: + main: + ports: + main: + protocol: http + port: 6060 +securityContext: + container: + readOnlyRootFilesystem: false + runAsGroup: 0 + runAsUser: 0 +workload: + main: + podSpec: + containers: + main: + env: + DATABASE_URL: + secretKeyRef: + expandObjectName: false + name: '{{ printf "%s-%s" .Release.Name "mariadbcreds" }}' + key: jdbc-mariadb + DATABASE_USERNAME: "{{ .Values.mariadb.mariadbUsername }}" + DATABASE_PASSWORD: "{{ .Values.mariadb.password }}" + BOOKLORE_PORT: "{{ .Values.service.main.ports.main.port }}" +persistence: + data: + enabled: true + mountPath: /app/data + varrun: + enabled: false +mariadb: + enabled: true + mariadbUsername: booklore