Skip to content

Commit

Permalink
[bitcoin-core]: enable labels on pvcs
Browse files Browse the repository at this point in the history
  • Loading branch information
deantchi authored Oct 22, 2024
1 parent ef26c0d commit ca0424c
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 4 deletions.
2 changes: 1 addition & 1 deletion hirosystems/bitcoin-core/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
10 changes: 7 additions & 3 deletions hirosystems/bitcoin-core/templates/statefulset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down
3 changes: 3 additions & 0 deletions hirosystems/bitcoin-core/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit ca0424c

Please sign in to comment.