Hi, @FedeBev. Thanks for creating issue. As for me looks interesting. @RustamGimadiev what is your opinion on this? Btw any PR is more then welcome )
[helm] restart application when configmap or secret changes
### Is your proposal related to a problem?

In my opinion would be great if the deployment was automatically restarted when the configmap or secret changes.

### Describe the solution you'd like

Something like this should be enough
```yaml
kind: Deployment
spec:
  template:
    metadata:
      annotations:
        checksum/config: {{ include (print $.Template.BasePath "/configmap.yaml") . | sha256sum }}
        checksum/secret: {{ include (print $.Template.BasePath "/secret.yaml") . | sha256sum }}
```

Let me know what are your thoughts, I can deal with a PR
charts/kafka-ui/templates/deployment.yaml
charts/kafka-ui/templates/deployment.yaml
diff --git a/charts/kafka-ui/templates/deployment.yaml b/charts/kafka-ui/templates/deployment.yaml
index f8bfe02ae6b..21091c4ad3d 100644
--- a/charts/kafka-ui/templates/deployment.yaml
+++ b/charts/kafka-ui/templates/deployment.yaml
@@ -13,10 +13,12 @@ spec:
       {{- include "kafka-ui.selectorLabels" . | nindent 6 }}
   template:
     metadata:
-    {{- with .Values.podAnnotations }}
       annotations:
-        {{- toYaml . | nindent 8 }}
-    {{- end }}
+      {{- with .Values.podAnnotations }}
+          {{- toYaml . | nindent 8 }}
+      {{- end }}
+        checksum/config: {{ include (print $.Template.BasePath "/configmap.yaml") . | sha256sum }}
+        checksum/secret: {{ include (print $.Template.BasePath "/secret.yaml") . | sha256sum }}
       labels:
         {{- include "kafka-ui.selectorLabels" . | nindent 8 }}
     spec:
