Externalise and Configure Spring Boot Environment Variables on Kubernetes
This only applies for Spring Boot 2.0 and above. It is time to upgrade if you are still not on this version!
Spring Boot lets us externalise our configurations so that we can use the same application code in different environments. Coupled with Docker and Kubernetes, it makes deployments extremely easy and fast.