Is there an easy way to query for all deployments that use given ConfigMap as valueFrom: configMapKeyRef.
I need to know which deployments use my config map in order to be able to restart them after the config map changes.
I'm looking for something like:
kubectl get deployments --with-config-map my-config-map