Skip to content

Commit

Permalink
[stacks-blockchain]: fix statefulset annotation rendering
Browse files Browse the repository at this point in the history
  • Loading branch information
CharlieC3 committed Jul 15, 2024
1 parent cf23b6b commit 724ea93
Show file tree
Hide file tree
Showing 2 changed files with 9 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.0
version: 2.1.1
11 changes: 8 additions & 3 deletions hirosystems/stacks-blockchain/templates/statefulset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,14 @@ metadata:
{{- if .Values.commonLabels }}
{{- include "common.tplvalues.render" ( dict "value" .Values.commonLabels "context" $ ) | nindent 4 }}
{{- end }}
{{- if .Values.commonAnnotations }}
annotations: {{- include "common.tplvalues.render" ( dict "value" .Values.commonAnnotations "context" $ ) | nindent 4 }}
{{- include "common.tplvalues.render" ( dict "value" .Values.statefulsetAnnotations "context" $ ) | nindent 4 }}
{{- if or .Values.statefulsetAnnotations .Values.commonAnnotations }}
annotations:
{{- if .Values.statefulsetAnnotations }}
{{- include "common.tplvalues.render" ( dict "value" .Values.statefulsetAnnotations "context" $) | nindent 4 }}
{{- end }}
{{- if .Values.commonAnnotations }}
{{- include "common.tplvalues.render" ( dict "value" .Values.commonAnnotations "context" $ ) | nindent 4 }}
{{- end }}
{{- end }}
spec:
replicas: {{ .Values.replicaCount }}
Expand Down

0 comments on commit 724ea93

Please sign in to comment.