Make sure the config-map is always fresh by making a function.