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
4 changes: 4 additions & 0 deletions charts/stirling-pdf/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,10 @@ spec:
{{- if .Values.securityContext.supplementalGroups }}
supplementalGroups: {{ .Values.securityContext.supplementalGroups }}
{{- end }}
{{- end }}
{{- if .Values.deployment.initContainers }}
initContainers:
{{- toYaml .Values.deployment.initContainers | nindent 8 }}
{{- else if .Values.persistence.enabled }}
initContainers:
- name: volume-permissions
Expand Down
13 changes: 13 additions & 0 deletions charts/stirling-pdf/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,19 @@ deployment:
# secretName: nginx-config
# -- Additional volumes to mount
extraVolumeMounts: []
# -- Custom initContainers specification
# If specified, these initContainers will be used instead of the default
# volume-permissions initContainer. This allows full control over the
# initContainer configuration.
# NOTE: When this is set, it completely overrides the default initContainer
# behavior. Make sure to include any necessary volume permission setup if needed.
initContainers: []
# - name: custom-init
# image: busybox:latest
# command: ['sh', '-c', 'echo Initializing...']
# volumeMounts:
# - name: storage-volume
# mountPath: /tmp
# -- sidecarContainers for the stirling-pdf
# -- Can be used to add a proxy to the pod that does
# -- scanning for secrets, signing, authentication, validation
Expand Down