This commit introduces a new Helm chart for deploying calibre-web on Kubernetes. The chart includes essential templates for deployment, service, ingress, and persistent volume claims, along with default values configured in a `values.yaml` file. The addition of the Helm chart enables easier deployment and management of calibre-web, allowing users to customize settings like the replica count, image settings, service type, and storage options through the `values.yaml`. A GitHub Actions workflow (`build-chart-calibre-web.yml`) is also included to automate the packaging and uploading of the Helm chart upon updates to the main branch. The structure and organization of the templates adhere to Helm best practices, ensuring compatibility and ease of use. There are no breaking changes associated with this addition, but users should review the `values.yaml` for configurable options.
120 lines
2.9 KiB
YAML
120 lines
2.9 KiB
YAML
# Default values for calibre-web.
|
|
# This is a YAML-formatted file.
|
|
# Declare variables to be passed into your templates.
|
|
|
|
replicaCount: 1
|
|
|
|
image:
|
|
repository: linuxserver/calibre-web
|
|
tag: latest
|
|
pullPolicy: IfNotPresent
|
|
|
|
imagePullSecrets: []
|
|
nameOverride: ""
|
|
fullnameOverride: ""
|
|
|
|
serviceAccount:
|
|
# Specifies whether a service account should be created
|
|
create: true
|
|
# The name of the service account to use.
|
|
# If not set and create is true, a name is generated using the fullname template
|
|
name:
|
|
|
|
podSecurityContext: {}
|
|
# fsGroup: 2000
|
|
|
|
securityContext: {}
|
|
# capabilities:
|
|
# drop:
|
|
# - ALL
|
|
# readOnlyRootFilesystem: true
|
|
# runAsNonRoot: true
|
|
# runAsUser: 1000
|
|
|
|
service:
|
|
type: ClusterIP
|
|
port: 80
|
|
|
|
|
|
|
|
ingress:
|
|
enabled: false
|
|
className: ""
|
|
annotations:
|
|
{}
|
|
# kubernetes.io/ingress.class: nginx
|
|
# kubernetes.io/tls-acme: "true"
|
|
hosts:
|
|
- host: chart-example.local
|
|
paths:
|
|
- path: /
|
|
pathType: ImplementationSpecific
|
|
tls: []
|
|
# - secretName: chart-example-tls
|
|
# hosts:
|
|
# - chart-example.local
|
|
|
|
|
|
env: []
|
|
# - name: USE_CONFIG_DIR
|
|
# value: "true"
|
|
# - name: SET_CONTAINER_TIMEZONE
|
|
# value: "true"
|
|
# - name: CONTAINER_TIMEZONE
|
|
# value: "UTC"
|
|
# - name: PUID
|
|
# value: 1029
|
|
# - name: PGID
|
|
# value: 65539
|
|
# - name: ADVANCED_DISABLEUPDATES
|
|
# value: "true"
|
|
|
|
|
|
persistence:
|
|
data:
|
|
# Optionally specify claimName to manually override the PVC to be used for
|
|
# the data directory. If claimName is specified, storageClass and size are
|
|
# ignored.
|
|
## claimName: "calibre-data-pvc"
|
|
# Optionally specify a storage class to be used for the data directory.
|
|
# If not specified and claimName is not specified, the default storage
|
|
# class will be used.
|
|
storageClass: ""
|
|
# The requested size of the volume to be used when creating a
|
|
# PersistentVolumeClaim.
|
|
size: 40Gi
|
|
config:
|
|
# Optionally specify claimName to manually override the PVC to be used for
|
|
# the config directory. If claimName is specified, storageClass and size
|
|
# are ignored.
|
|
## claimName: "calibre-config-pvc"
|
|
# Optionally specify a storage class to be used for the config directory.
|
|
# If not specified and claimName is not specified, the default storage
|
|
# class will be used.
|
|
storageClass: ""
|
|
# The requested size of the volume to be used when creating a
|
|
# PersistentVolumeClaim.
|
|
size: 20Gi
|
|
|
|
resources: {}
|
|
# We usually recommend not to specify default resources and to leave this as a conscious
|
|
# choice for the user. This also increases chances charts run on environments with little
|
|
# resources, such as Minikube. If you do want to specify resources, uncomment the following
|
|
# lines, adjust them as necessary, and remove the curly braces after 'resources:'.
|
|
# limits:
|
|
# cpu: 100m
|
|
# memory: 128Mi
|
|
# requests:
|
|
# cpu: 100m
|
|
# memory: 128Mi
|
|
|
|
nodeSelector: {}
|
|
|
|
tolerations: []
|
|
|
|
annotations: []
|
|
|
|
podAnnotations: []
|
|
|
|
affinity: {}
|