From 6850d9d4fd1951f72016009f795b1e1e93edee24 Mon Sep 17 00:00:00 2001 From: Sviatoslav Dumchenko Date: Thu, 2 Jul 2026 14:46:10 +0100 Subject: [PATCH] fix: properly render seedClient volumeClaimTemplate annotations Signed-off-by: Sviatoslav Dumchenko --- charts/dragonfly/Chart.yaml | 2 +- .../templates/seed-client/seed-client-statefulset.yaml | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/charts/dragonfly/Chart.yaml b/charts/dragonfly/Chart.yaml index 99279fca..265c5ea5 100644 --- a/charts/dragonfly/Chart.yaml +++ b/charts/dragonfly/Chart.yaml @@ -3,7 +3,7 @@ name: dragonfly description: Dragonfly is an intelligent P2P based image and file distribution system icon: https://raw.githubusercontent.com/dragonflyoss/dragonfly/main/docs/images/logo/dragonfly.svg type: application -version: 1.7.0 +version: 1.7.1 appVersion: 2.5.0 keywords: - dragonfly diff --git a/charts/dragonfly/templates/seed-client/seed-client-statefulset.yaml b/charts/dragonfly/templates/seed-client/seed-client-statefulset.yaml index 5f72afbd..cbefc372 100644 --- a/charts/dragonfly/templates/seed-client/seed-client-statefulset.yaml +++ b/charts/dragonfly/templates/seed-client/seed-client-statefulset.yaml @@ -175,8 +175,9 @@ spec: volumeClaimTemplates: - metadata: name: storage - {{- range $key, $value := .Values.seedClient.persistence.annotations }} - {{ $key }}: {{ $value }} + {{- if .Values.seedClient.persistence.annotations }} + annotations: + {{- toYaml .Values.seedClient.persistence.annotations | nindent 10 }} {{- end }} spec: accessModes: