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 CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 1.1.1 (2026-01-22)

* PR #XX: Add support for extra volumes and volume mounts in the deployment (@sveriger)

## 1.1.0 (2025-09-29)

* PR #211: Add support for using existing PriorityClass (@dibaro)
Expand Down
2 changes: 1 addition & 1 deletion imgproxy/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v1
description: A fast and secure standalone server for resizing and converting remote images. The main principles of imgproxy are simplicity, speed, and security.
name: imgproxy
icon: https://cdn.rawgit.com/imgproxy/imgproxy/master/logo.svg
version: 1.1.0
version: 1.1.1
appVersion: 3.30.0
keywords:
- imgproxy
Expand Down
14 changes: 12 additions & 2 deletions imgproxy/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -74,11 +74,16 @@ spec:
{{- else if (include "serviceAccount.enabled" $ | eq "true") }}
serviceAccountName: "{{ template "imgproxy.fullname" $ }}-service-account"
{{- end }}
{{- if .Values.persistence.enabled }}
{{- if or .Values.persistence.enabled .Values.resources.extraVolumes }}
volumes:
{{- if .Values.persistence.enabled }}
- name: data
persistentVolumeClaim:
claimName: {{ include "imgproxy.pvcName" . }}
{{- end }}
{{- with .Values.resources.extraVolumes }}
{{- toYaml . | nindent 8 }}
{{- end }}
{{- end }}
{{- with .Values.resources.deployment.topologySpreadConstraints }}
topologySpreadConstraints:
Expand Down Expand Up @@ -106,13 +111,18 @@ spec:
name: {{ $secretName }}
{{- end }}
resources: {{ include "imgproxy.podResources" $ | nindent 12 }}
{{- if .Values.persistence.enabled }}
{{- if or .Values.persistence.enabled .Values.resources.extraVolumeMounts }}
volumeMounts:
{{- if .Values.persistence.enabled }}
- name: data
mountPath: {{ .Values.persistence.mountPath }}
{{- if .Values.persistence.subPath }}
subPath: {{ .Values.persistence.subPath }}
{{- end }}
{{- end }}
{{- with .Values.resources.extraVolumeMounts }}
{{- toYaml . | nindent 12 }}
{{- end }}
{{- end }}
ports:
- containerPort: 8080
Expand Down
29 changes: 24 additions & 5 deletions imgproxy/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,12 @@ resources:
priority:
# The name of the priority class to be used in both pod.PriorityClassName
# and the PriorityClass (when a level is above 0).
#
#
# Usage scenarios:
# 1. level > 0: A new PriorityClass will be created with this name and assigned to pods
# 2. level = 0 + name provided: Use an existing PriorityClass with this name (no new PriorityClass created)
# 3. level = 0 + no name: No PriorityClass will be used
#
#
# You can use system names like `set-cluster-critical` and `set-node-critical` as well,
# in this case the class won't be created and level is ignored.
name: ~
Expand Down Expand Up @@ -78,7 +78,7 @@ resources:

# The number of seconds for which past recommendations
# should be considered while scaling up or scaling down (0 - 3600).
# This is used as the default for both directions unless overridden by
# This is used as the default for both directions unless overridden by
# scaleUpBehavior.stabilizationInterval or scaleDownBehavior.stabilizationInterval.
#
# The setting is used if `minCount < maxCount` only (default 300 seconds).
Expand Down Expand Up @@ -109,7 +109,7 @@ resources:
# All fields are optional - you can override only specific settings.
scaleDownBehavior:
# stepCount: 1 # Number of pods to remove per scaling step (overrides shared stepCount)
# stepSeconds: 300 # Period between scaling steps in seconds (overrides shared stepSeconds)
# stepSeconds: 300 # Period between scaling steps in seconds (overrides shared stepSeconds)
# stabilizationInterval: 600 # Stabilization window in seconds (overrides shared stabilizationInterval)
# selectPolicy: Min # Policy for selecting which recommendation to use (Min, Max, Disabled)

Expand Down Expand Up @@ -183,7 +183,7 @@ resources:
{}
# allowPrivilegeEscalation: false
# runAsNonRoot: true

# A container security context defines privilege and access control settings for the deployment container.
# Check available settings in the documentation by link:
# https://kubernetes.io/docs/tasks/configure-pod-container/security-context/
Expand Down Expand Up @@ -294,6 +294,25 @@ resources:
annotations: {}
labels: {}

# Additional pod volumes to mount (beyond the persistence volume).
# Each entry should be a valid Kubernetes volume spec.
# Example:
# resources:
# extraVolumes:
# - name: config
# configMap:
# name: my-config
extraVolumes: []

# Additional volume mounts for the imgproxy container.
# Each entry should be a valid Kubernetes volumeMount spec.
# Example:
# resources:
# extraVolumeMounts:
# - name: config
# mountPath: /config
extraVolumeMounts: []

# Configure persistence layer
persistence:
# If persistence is enabled
Expand Down