[Backport release-0.38] [dashboard] Add config hash annotations to restart pods on config changes (#1665)

# Description
Backport of #1662 to `release-0.38`.
This commit is contained in:
Andrei Kvapil authored and GitHub committed 2025-11-27 12:30:46 +01:00
commit cc068f20f4
2 files changed
+3 -2

No files matched your search

@@ -16,7 +16,7 @@ spec:
template:
metadata:
annotations:
checksum/configmap-configurationnginxfile: 258c66b019c8c7f4a5d0a78dfd7bf297ce486b213346fbd2879c466abfc377e0
checksum/config: {{ include (print $.Template.BasePath "/nginx-config.yaml") . | sha256sum }}
labels:
app.kubernetes.io/instance: incloud-web
app.kubernetes.io/name: nginx
+2 -1
View File
@@ -15,7 +15,8 @@ spec:
type: RollingUpdate
template:
metadata:
annotations: null
annotations:
checksum/config: {{ include (print $.Template.BasePath "/configmap.yaml") . | sha256sum }}
labels:
app.kubernetes.io/instance: incloud-web
app.kubernetes.io/name: web