Skip to content

Commit

Permalink
fix: add cm checksum to bitcoind sts label (#2987)
Browse files Browse the repository at this point in the history
  • Loading branch information
krtk6160 authored Apr 28, 2023
1 parent a315656 commit 003f339
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions charts/bitcoind/templates/statefulset.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
{{ $checksum := include (print $.Template.BasePath "/configmap.yaml") . | sha256sum }}
apiVersion: apps/v1
kind: StatefulSet
metadata:
Expand All @@ -20,6 +21,7 @@ spec:
{{- with .Values.podAnnotations }}
annotations:
{{- toYaml . | nindent 8 }}
checksum/config: {{ $checksum }}
prometheus.io/path: /metrics
prometheus.io/port: {{ $.Values.service.ports.metrics | quote }}
prometheus.io/scrape: "true"
Expand Down

0 comments on commit 003f339

Please sign in to comment.