Skip to content

Commit f85fb38

Browse files
committed
fix(helm): re-add missing s3 secrets when using minio
1 parent 713ca03 commit f85fb38

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

helm/kube-image-keeper/templates/registry-deployment.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ spec:
9595
value: "true"
9696
{{- end }}
9797
{{- end }}
98-
{{- if (not (empty .Values.registry.persistence.s3ExistingSecret)) }}
98+
{{- if or (not (empty .Values.registry.persistence.s3ExistingSecret)) .Values.minio.enabled }}
9999
{{ $s3KeysSecretName := .Values.registry.persistence.s3ExistingSecret | default "kube-image-keeper-s3-registry-keys" }}
100100
- name: REGISTRY_STORAGE_S3_ACCESSKEY
101101
valueFrom:

0 commit comments

Comments
 (0)