From e6fdf323ed2392662bf795f49224999c734bf755 Mon Sep 17 00:00:00 2001 From: Paul Laffitte Date: Thu, 7 Nov 2024 11:48:54 +0100 Subject: [PATCH] fix(helm): enable s3 registry storage when minio is enabled --- helm/kube-image-keeper/templates/registry-deployment.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/helm/kube-image-keeper/templates/registry-deployment.yaml b/helm/kube-image-keeper/templates/registry-deployment.yaml index 0be71993..82d032aa 100644 --- a/helm/kube-image-keeper/templates/registry-deployment.yaml +++ b/helm/kube-image-keeper/templates/registry-deployment.yaml @@ -48,7 +48,7 @@ spec: key: secret - name: REGISTRY_STORAGE_DELETE_ENABLED value: "true" - {{- if (not (empty .Values.registry.persistence.s3)) }} + {{- if or (not (empty .Values.registry.persistence.s3)) .Values.minio.enabled }} - name: REGISTRY_STORAGE value: s3 {{- end}}