radicale

by wittdennis

Helm chartv2.1.7App 3.9.2MITVerified publisher

A Helm chart for Radicale. Radicale is a small but powerful CalDAV (calendars, to-do lists) and CardDAV (contacts) server. This chart uses the official, rootless ghcr.io/kozea/radicale image.

About this chart

radicale

A Helm chart for Radicale. Radicale is a small but powerful CalDAV (calendars, to-do lists) and CardDAV (contacts) server. This chart uses the official, rootless ghcr.io/kozea/radicale image.

Maintainers

NameEmailUrl
Dennis Witthttps://github.com/wittdennis

Source Code

Values

KeyTypeDefaultDescription
affinityobject{}
autoscalingobject{"enabled":false,"maxReplicas":100,"minReplicas":1,"targetCPUUtilizationPercentage":80}This section is for setting up autoscaling more information can be found here: https://kubernetes.io/docs/concepts/workloads/autoscaling/
configobject{"auth":{"htpasswd":{"encryption":"bcrypt","existingSecret":"","existingSecretKey":"htpasswd","users":{}},"type":"none"},"create":true,"headers":{},"logging":{"level":"info"},"rights":{"file":{"content":"","existingSecret":"","existingSecretKey":"rights"},"type":"owner_only"},"web":{"enabled":true}}Radicale configuration.
config.authobject{"htpasswd":{"encryption":"bcrypt","existingSecret":"","existingSecretKey":"htpasswd","users":{}},"type":"none"}Authentication backend. By default auth is disabled; configure a backend before exposing Radicale.
config.auth.htpasswdobject{"encryption":"bcrypt","existingSecret":"","existingSecretKey":"htpasswd","users":{}}htpasswd options (used when type is htpasswd). The chart mounts the users file and sets htpasswd_filename automatically.
config.auth.htpasswd.encryptionstring"bcrypt"Encryption of the existingSecret htpasswd file: bcrypt
config.auth.htpasswd.existingSecretstring""Existing Secret holding a pre-hashed htpasswd file. Takes precedence over users.
config.auth.htpasswd.existingSecretKeystring"htpasswd"Key within existingSecret that holds the htpasswd file.
config.auth.htpasswd.usersobject{}Inline users as username -> password. Stored in the generated Secret and read with plain encryption.
config.auth.typestring"none"Auth backend: none
config.createbooltrueWhen false no Secret is created and Radicale falls back to its own defaults.
config.headersobject{}Custom HTTP response headers as name -> value (e.g. for CORS). Rendered under [headers].
config.loggingobject{"level":"info"}Logging.
config.logging.levelstring"info"Log level: trace
config.rightsobject{"file":{"content":"","existingSecret":"","existingSecretKey":"rights"},"type":"owner_only"}Authorization backend.
config.rights.fileobject{"content":"","existingSecret":"","existingSecretKey":"rights"}Custom rules file (used when type is from_file). The chart mounts it and sets the file path automatically.
config.rights.file.contentstring""Inline rights rules content. Stored in the generated Secret.
config.rights.file.existingSecretstring""Existing Secret holding the rights file. Takes precedence over content.
config.rights.file.existingSecretKeystring"rights"Key within existingSecret that holds the rights file.
config.rights.typestring"owner_only"Rights backend: authenticated
config.webobject{"enabled":true}Built-in web interface.
config.web.enabledbooltrueEnable the web UI (radicale web type internal); false disables it.
deploymentStrategyobject{"type":"Recreate"}Deployment strategy to use. Defaults to Recreate to avoid PVC multi-attach errors with ReadWriteOnce volumes.
envobject{}Additional env values to pass to the container
fullnameOverridestring""
imageobject{"pullPolicy":"IfNotPresent","registry":"ghcr.io","repository":"kozea/radicale","tag":""}This sets the container image more information can be found here: https://kubernetes.io/docs/concepts/containers/images/
image.pullPolicystring"IfNotPresent"This sets the pull policy for images.
image.tagstring""Overrides the image tag whose default is the chart appVersion.
imagePullSecretslist[]This is for the secretes for pulling an image from a private repository more information can be found here: https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/
ingressobject{"annotations":{},"className":"","enabled":false,"hosts":[{"host":"chart-example.local","paths":[{"path":"/","pathType":"ImplementationSpecific"}]}],"tls":[]}This block is for setting up the ingress for more information can be found here: https://kubernetes.io/docs/concepts/services-networking/ingress/
livenessProbeobject{"tcpSocket":{"port":"http"}}This is to setup the liveness and readiness probes more information can be found here: https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-startup-probes/ TCP probes are used so they stay valid regardless of the configured auth backend.
nameOverridestring""This is to override the chart name.
nodeSelectorobject{}
persistenceobject{"data":{"accessMode":"ReadWriteOnce","className":null,"enabled":true,"existingVolumeClaim":null,"size":"5Gi"}}Settings for storage
persistence.dataobject{"accessMode":"ReadWriteOnce","className":null,"enabled":true,"existingVolumeClaim":null,"size":"5Gi"}Settings for the data pvc mounted at /var/lib/radicale (holds collections: calendars and contacts)
persistence.data.classNamestringnilStorage class to use for persistent storage. If left empty default storage class will be used.
persistence.data.enabledbooltrueWhen false an emptyDir will be provisioned. Use this only for dev purposes
persistence.data.sizestring"5Gi"Size for the persistent volume claim.
podAnnotationsobject{}This is for setting Kubernetes Annotations to a Pod. For more information checkout: https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/
podLabelsobject{}This is for setting Kubernetes Labels to a Pod. For more information checkout: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/
podSecurityContextobject{"fsGroup":1000,"fsGroupChangePolicy":"OnRootMismatch","runAsGroup":1000,"runAsNonRoot":true,"runAsUser":1000,"seccompProfile":{"type":"RuntimeDefault"}}The image runs Radicale as the non-root radicale user (uid/gid 1000).
readinessProbe.tcpSocket.portstring"http"
replicaCountint1This will set the replicaset count more information can be found here: https://kubernetes.io/docs/concepts/workloads/controllers/replicaset/
resourcesobject{}
routeobject{"additionalRules":{},"annotations":{},"enabled":false,"filters":[],"hostnames":[],"labels":{},"matches":[{"path":{"type":"PathPrefix","value":"/"}}],"parentRefs":[]}This block is for setting up gateway api http route. More information can be found here: https://gateway-api.sigs.k8s.io/
route.additionalRulesobject{}Any custom rule you want to specify
route.annotationsobject{}Additional annotations for the HTTPRoute
route.enabledboolfalseFlag to control if route should be created
route.filterslist[]Filter that should be added to the default rule
route.hostnameslist[]Hostnames of the HTTPRoute
route.labelsobject{}Additional labels for the HTTPRoute
route.matcheslist[{"path":{"type":"PathPrefix","value":"/"}}]Matches for the default rule
route.parentRefslist[]Gateway reference that the HTTPRoute should bind against
securityContext.allowPrivilegeEscalationboolfalse
securityContext.capabilities.drop[0]string"ALL"
securityContext.privilegedboolfalse
securityContext.readOnlyRootFilesystembooltrue
securityContext.runAsGroupint1000
securityContext.runAsNonRootbooltrue
securityContext.runAsUserint1000
securityContext.seccompProfile.typestring"RuntimeDefault"
serviceobject{"port":5232,"type":"ClusterIP"}This is for setting up a service more information can be found here: https://kubernetes.io/docs/concepts/services-networking/service/
service.portint5232This sets the ports more information can be found here: https://kubernetes.io/docs/concepts/services-networking/service/#field-spec-ports
service.typestring"ClusterIP"This sets the service type more information can be found here: https://kubernetes.io/docs/concepts/services-networking/service/#publishing-services-service-types
serviceAccountobject{"annotations":{},"automount":false,"create":true,"name":""}This section builds out the service account more information can be found here: https://kubernetes.io/docs/concepts/security/service-accounts/
serviceAccount.annotationsobject{}Annotations to add to the service account
serviceAccount.automountboolfalseAutomatically mount a ServiceAccount's API credentials?
serviceAccount.createbooltrueSpecifies whether a service account should be created
serviceAccount.namestring""If not set and create is true, a name is generated using the fullname template
tolerationslist[]
volumeMountslist[]Additional volumeMounts on the output Deployment definition.
volumeslist[]Additional volumes on the output Deployment definition.

Deploy radicale with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has radicale on a Hetzner server. Change the host, add apps from the marketplace, then copy the generated files. Providers and prices are samples, and nothing here is sent anywhere.

  1. Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
  2. Place the chartradicale is pinned at v2.1.7 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
  3. ApplySave opentenant.yaml and main.tf from the console, then run the commands below.
# opentenant.yaml, main.tf and dns.tf come from the builder below
opentenant validate opentenant.yaml
terraform init && terraform apply