The helm
docu has a section The Format and Limitations of –set, which contains what you are looking for.
--set outer.inner=value
results in:
outer:
inner: value
Therefore your whole helm
command looks like this:
helm install --set annotations.foo=bar,annotations.bash=baz stable/prometheus-redis-exporter