diff --git a/hirosystems/bitcoin-core/Chart.yaml b/hirosystems/bitcoin-core/Chart.yaml index 9e96e3f..5067ad1 100644 --- a/hirosystems/bitcoin-core/Chart.yaml +++ b/hirosystems/bitcoin-core/Chart.yaml @@ -25,4 +25,4 @@ sources: - https://github.com/bitcoin/bitcoin - https://github.com/ruimarinho/docker-bitcoin-core - https://bitcoin.org -version: 2.1.5 +version: 2.1.6 diff --git a/hirosystems/bitcoin-core/templates/statefulset.yaml b/hirosystems/bitcoin-core/templates/statefulset.yaml index f9d621e..9b87432 100644 --- a/hirosystems/bitcoin-core/templates/statefulset.yaml +++ b/hirosystems/bitcoin-core/templates/statefulset.yaml @@ -253,9 +253,13 @@ spec: {{- if .Values.commonAnnotations }} {{- include "common.tplvalues.render" (dict "value" .Values.commonAnnotations "context" $) | nindent 10 }} {{- end }} - {{- if .Values.commonLabels }} - labels: {{- include "common.tplvalues.render" (dict "value" .Values.commonLabels "context" $) | nindent 10 }} - {{- end }} + labels: + {{- if .Values.commonLabels}} + {{- include "common.tplvalues.render" (dict "value" .Values.commonLabels "context" $) | nindent 10}} + {{- end}} + {{- if .Values.persistence.labels}} + {{- include "common.tplvalues.render" (dict "value" .Values.persistence.labels "context" $) | nindent 10}} + {{- end}} spec: accessModes: {{- range .Values.persistence.accessModes }} diff --git a/hirosystems/bitcoin-core/values.yaml b/hirosystems/bitcoin-core/values.yaml index 3401d19..aca16a6 100644 --- a/hirosystems/bitcoin-core/values.yaml +++ b/hirosystems/bitcoin-core/values.yaml @@ -627,6 +627,9 @@ persistence: ## @param persistence.annotations Persistent Volume Claim annotations ## annotations: {} + ## @param persistence.annotations Persistent Volume Claim labels + ## + labels: {} ## @param persistence.accessModes Persistent Volume Access Modes ## accessModes: