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: