How do I use Spring Cloud Kubernetes to programmatically write a ConfigMap value?

11/1/2021

I have a service that uses Spring Cloud Kubernetes Config to reload its configuration when a value in a ConfigMap changes. That all works great.

Is it possible to use Spring Cloud Kubernetes (or one of its dependencies) to write a ConfigMap value? I didn't see any examples of this in the documentation (here). Can I do this programmatically, or do I need to call the underlying Kubernetes APIs to do this?

-- Mark
kubernetes
spring
spring-cloud-kubernetes

1 Answer

11/2/2021

Based on Eugene's reply:

No, this is impossible at the moment to do so. You can go to GitHub and create an issue with the explanation of your use case, and this feature can be created within the future releases.

-- Bazhikov
Source: StackOverflow