I have a small application with one deployment, service and 3 configMaps. It is normal Kubernetes YAML files, not a HELM setup. Is it possible to add the configMap checksum in annotations just like we can do in HELM so that whenever the configMap get updated, the deployment gets restarted.
HELM Reference: https://helm.sh/docs/howto/charts_tips_and_tricks/#automatically-roll-deployments
Any help will be appreciated. Thanks in advance!
You will need to use a "ConfigMap Reloader".
Stakater Reloaderis a Kubernetes Controller which can watch changes in ConfigMap and Secret and do rolling upgrades on Pods with their associated DeploymentConfigs, Deployments, Daemonsets Statefulsets and Rollouts.Please refer to these links