I am new to both Kubernetes and GCP. I have a requirement to externalize the .properties files and some xml configuration files needed for bean initialization and additionally (optional) do a automatic reload of the containerized Springboot application (better if partial reload) based on the changes made to these files. I know that with properties files this can be done with the help of ConfigMap in Kubernetes in GKE as per the documentation here ConfigMap PropertySource.
Is it possible to externalize the xml files as well with ConfigMap and monitor the changes and do a hot reloading of beans as per the changes? If it is not possible with the help of ConfigMap are there other options for doing this?