Skip to content

Commit

Permalink
[stacks-blockchain]: allow pvc specific labels (#26)
Browse files Browse the repository at this point in the history
* [stacks-blockchina]: allow pvc specific labels

* Update hirosystems/stacks-blockchain/templates/statefulset.yaml

Co-authored-by: Charlie <[email protected]>

---------

Co-authored-by: Charlie <[email protected]>
  • Loading branch information
deantchi and CharlieC3 authored Sep 16, 2024
1 parent a69968f commit 0cee102
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 4 deletions.
2 changes: 1 addition & 1 deletion hirosystems/stacks-blockchain/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,4 +33,4 @@ name: stacks-blockchain
sources:
- https://github.com/stacks-network/stacks-blockchain
- https://docs.stacks.co/
version: 2.1.1
version: 2.1.2
10 changes: 7 additions & 3 deletions hirosystems/stacks-blockchain/templates/statefulset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -266,9 +266,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/stacks-blockchain/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -602,6 +602,9 @@ persistence:
annotations: {}
## @param persistence.accessModes Persistent Volume Access Modes
##
## @param persistence.annotations Persistent Volume Claim labels
##
labels: {}
accessModes:
- ReadWriteOnce
## @param persistence.size Size of data volume
Expand Down

0 comments on commit 0cee102

Please sign in to comment.