From 4425a0e7038c784057f18c40bdc4c9e46667799a Mon Sep 17 00:00:00 2001 From: Marko Oldenburg Date: Wed, 10 Dec 2025 07:58:33 +0100 Subject: [PATCH] Update Calibre-Web Helm chart metadata and configurations Updated the Calibre-Web Helm chart's metadata in `Chart.yaml`, including a more descriptive app description, updated version to 0.1.2, and added keywords, home URL, source references, and maintainer information. In `deployment.yaml`, modified the image reference to allow a customizable image tag instead of defaulting to the app version. In `values.yaml`, adjusted the size of persistent storage volumes for `data` and `config`, changing them to 2Gi and 50Mi respectively. This ensures more manageable resource allocation for deployments, addressing potential over-provisioning. These changes collectively enhance the usability and maintainability of the Helm chart for Calibre-Web deployments. --- charts/calibre-web/Chart.yaml | 32 +++++++++----------- charts/calibre-web/templates/deployment.yaml | 2 +- charts/calibre-web/values.yaml | 13 +++----- 3 files changed, 19 insertions(+), 28 deletions(-) diff --git a/charts/calibre-web/Chart.yaml b/charts/calibre-web/Chart.yaml index 3a31ce6..6f01f6b 100644 --- a/charts/calibre-web/Chart.yaml +++ b/charts/calibre-web/Chart.yaml @@ -1,21 +1,17 @@ apiVersion: v2 name: calibre-web -description: A Helm chart for Kubernetes - -# A chart can be either an 'application' or a 'library' chart. -# -# Application charts are a collection of templates that can be packaged into versioned archives -# to be deployed. -# -# Library charts provide useful utilities or functions for the chart developer. They're included as -# a dependency of application charts to inject those utilities and functions into the rendering -# pipeline. Library charts do not define any templates and therefore cannot be deployed. -type: application - -# This is the chart version. This version number should be incremented each time you make changes -# to the chart and its templates, including the app version. -version: 0.1.1 - -# This is the version number of the application being deployed. This version number should be -# incremented each time you make changes to the application. +description: Calibre-Web is a web app that offers a clean and intuitive interface for browsing, reading, and downloading eBooks using a valid Calibre database. +version: 0.1.2 appVersion: 0.6.25-ls360 +keywords: + - calibre + - ebook + - calibre-web +home: https://git.cooltux.net/marko/HelmChartSammlung/src/branch/main/charts/calibre-web +sources: + - https://github.com/janeczku/calibre-web + - https://git.cooltux.net/marko/HelmChartSammlung/src/branch/main/charts/calibre-web +maintainers: + - name: Marko Oldenburg + email: development@cooltux.net + url: https://git.cooltux.net/marko diff --git a/charts/calibre-web/templates/deployment.yaml b/charts/calibre-web/templates/deployment.yaml index 82f60fc..6650274 100644 --- a/charts/calibre-web/templates/deployment.yaml +++ b/charts/calibre-web/templates/deployment.yaml @@ -33,7 +33,7 @@ spec: - name: {{ .Chart.Name }} securityContext: {{- toYaml .Values.securityContext | nindent 12 }} - image: "{{ .Values.image.repository }}:{{ .Chart.AppVersion }}" + image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}" imagePullPolicy: {{ .Values.image.pullPolicy }} env: {{ toYaml .Values.env | nindent 12 }} diff --git a/charts/calibre-web/values.yaml b/charts/calibre-web/values.yaml index 9333fa0..35fc17f 100644 --- a/charts/calibre-web/values.yaml +++ b/charts/calibre-web/values.yaml @@ -6,7 +6,7 @@ replicaCount: 1 image: repository: linuxserver/calibre-web - tag: latest + tag: "" pullPolicy: IfNotPresent imagePullSecrets: [] @@ -35,13 +35,10 @@ service: type: ClusterIP port: 80 - - ingress: enabled: false className: "" - annotations: - {} + annotations: {} # kubernetes.io/ingress.class: nginx # kubernetes.io/tls-acme: "true" hosts: @@ -54,7 +51,6 @@ ingress: # hosts: # - chart-example.local - env: [] # - name: USE_CONFIG_DIR # value: "true" @@ -69,7 +65,6 @@ env: [] # - name: ADVANCED_DISABLEUPDATES # value: "true" - persistence: data: # Optionally specify claimName to manually override the PVC to be used for @@ -82,7 +77,7 @@ persistence: storageClass: "" # The requested size of the volume to be used when creating a # PersistentVolumeClaim. - size: 40Gi + size: 2Gi config: # Optionally specify claimName to manually override the PVC to be used for # the config directory. If claimName is specified, storageClass and size @@ -94,7 +89,7 @@ persistence: storageClass: "" # The requested size of the volume to be used when creating a # PersistentVolumeClaim. - size: 20Gi + size: 50Mi resources: {} # We usually recommend not to specify default resources and to leave this as a conscious -- 2.49.1