From f85fb38578b480f13cec4f96f1ff8e53a1224761 Mon Sep 17 00:00:00 2001 From: Paul Laffitte Date: Thu, 7 Nov 2024 18:04:22 +0100 Subject: [PATCH] fix(helm): re-add missing s3 secrets when using minio --- 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 82d032aa..8ae1bded 100644 --- a/helm/kube-image-keeper/templates/registry-deployment.yaml +++ b/helm/kube-image-keeper/templates/registry-deployment.yaml @@ -95,7 +95,7 @@ spec: value: "true" {{- end }} {{- end }} - {{- if (not (empty .Values.registry.persistence.s3ExistingSecret)) }} + {{- if or (not (empty .Values.registry.persistence.s3ExistingSecret)) .Values.minio.enabled }} {{ $s3KeysSecretName := .Values.registry.persistence.s3ExistingSecret | default "kube-image-keeper-s3-registry-keys" }} - name: REGISTRY_STORAGE_S3_ACCESSKEY valueFrom: