From d786b45b9b347864488b1e2af0e155056eb9d6d7 Mon Sep 17 00:00:00 2001 From: Jacek N Date: Wed, 12 Aug 2026 13:52:26 +0100 Subject: [PATCH] RPC: add checksum annotation to StatefulSet The annotation will ensure pods are restarted on config changes. --- charts/soroban-rpc/Chart.yaml | 2 +- charts/soroban-rpc/templates/soroban-rpc-sts.yaml | 7 ++++--- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/charts/soroban-rpc/Chart.yaml b/charts/soroban-rpc/Chart.yaml index 1547514..f9d409f 100644 --- a/charts/soroban-rpc/Chart.yaml +++ b/charts/soroban-rpc/Chart.yaml @@ -1,6 +1,6 @@ apiVersion: v1 name: soroban-rpc -version: 0.6.1 +version: 0.6.2 appVersion: "27.0.0" description: Stellar RPC Helm Chart. This chart will deploy Stellar RPC server maintainers: diff --git a/charts/soroban-rpc/templates/soroban-rpc-sts.yaml b/charts/soroban-rpc/templates/soroban-rpc-sts.yaml index 6152c9f..b875c1b 100644 --- a/charts/soroban-rpc/templates/soroban-rpc-sts.yaml +++ b/charts/soroban-rpc/templates/soroban-rpc-sts.yaml @@ -38,11 +38,12 @@ spec: {{ $key }}: {{ $value | quote }} {{- end }} {{- end }} - {{- if (.Values.sorobanRpc).annotations }} annotations: + checksum/configmap: {{ include (print $.Template.BasePath "/soroban-rpc-cm.yaml") . | sha256sum }} + {{- if (.Values.sorobanRpc).annotations }} {{- range $key, $value := .Values.sorobanRpc.annotations }} - {{ $key }}: {{ $value | quote }} - {{- end }} + {{ $key }}: {{ $value | quote }} + {{- end }} {{- end }} spec: {{- if (.Values.sorobanRpc).serviceAccountName }}