Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions charts/cryptpad/Chart.lock
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
dependencies:
- name: common
repository: oci://registry-1.docker.io/bitnamicharts
version: 2.31.4
digest: sha256:2d3ac560b149aaf583ce2c70b6bbd15f35da59a8e5c23d6a240df3534ea5f39b
generated: "2025-12-15T21:52:37.640097823-03:00"
version: 2.39.0
digest: sha256:3eb3792ee943930941c29d63cd9c9ec07b7ce0da04b23e6b6eb4378a7ea9c0a0
generated: "2026-05-15T15:55:14.210952212+02:00"
15 changes: 15 additions & 0 deletions charts/cryptpad/templates/cryptpad.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,9 @@ spec:
fi
resources:
{{- toYaml .Values.resources | nindent 12 }}
{{- with .Values.extraInitContainers }}
{{- toYaml . | nindent 8 }}
{{- end }}
containers:
- name: {{ .Chart.Name }}
securityContext:
Expand All @@ -79,6 +82,9 @@ spec:
value: "{{ include "cryptpad-helm.sandboxDomain" . | trim }}"
- name: CPAD_CONF
value: "{{ .Values.cpadConfig }}"
{{- with .Values.extraEnv }}
{{- toYaml . | nindent 12 }}
{{- end }}
ports:
- name: {{ .Values.service.internalPort }}
containerPort: {{ .Values.service.containerPort }}
Expand Down Expand Up @@ -154,6 +160,12 @@ spec:
- name: configmaps
mountPath: /cryptpad/customize/application_config.js
subPath: application_config.js
{{- with .Values.extraVolumeMounts }}
{{- toYaml . | nindent 12 }}
{{- end }}
{{- with .Values.extraContainers }}
{{- toYaml . | nindent 8 }}
{{- end }}
{{- with .Values.nodeSelector }}
nodeSelector:
{{- toYaml . | nindent 8 }}
Expand All @@ -170,6 +182,9 @@ spec:
- name: configmaps
configMap:
name: {{ include "cryptpad-helm.fullname" . }}
{{- with .Values.extraVolumes }}
{{- toYaml . | nindent 8 }}
{{- end }}
{{- if and .Values.persistence.enabled .Values.workloadStateful }}
{{- range $dir, $dirvalues := .Values.persistence.cryptpad }}
{{- if $dirvalues.existingClaim }}
Expand Down
38 changes: 38 additions & 0 deletions charts/cryptpad/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,44 @@ enableEmbedding: false
# -- Restrict registration to only users with admin keys
restrictRegistration: false

# -- Additional init containers (e.g. clone a plugin into a shared volume).
# Rendered into `.spec.template.spec.initContainers` after the built-in init container.
extraInitContainers: []
# - name: install-sso-plugin
# image: alpine/git:2.45.2
# command: ['sh', '-c', 'git clone --depth=1 https://github.com/cryptpad/sso /plugins/sso']
# volumeMounts:
# - name: sso-plugin
# mountPath: /plugins

# -- Additional sidecar containers. Rendered into `.spec.template.spec.containers` after the main container.
extraContainers: []

# -- Additional volumes for the pod. Rendered into `.spec.template.spec.volumes`.
extraVolumes: []
# - name: sso-plugin
# emptyDir: {}
# - name: sso-config
# secret:
# secretName: cryptpad-sso

# -- Additional volume mounts for the main container.
extraVolumeMounts: []
# - name: sso-plugin
# mountPath: /cryptpad/lib/plugins/sso
# subPath: sso
# - name: sso-config
# mountPath: /cryptpad/config/sso.js
# subPath: sso.js

# -- Additional environment variables for the main container (raw env entries, supports valueFrom).
extraEnv: []
# - name: OIDC_CLIENT_SECRET
# valueFrom:
# secretKeyRef:
# name: cryptpad-sso
# key: client_secret

imagePullSecrets: []
nameOverride: ""
fullnameOverride: ""
Expand Down