How to load properties from kubernetes configMap based on activated spring profiles
apiVersion: v1
kind: ConfigMap
data:
application.yaml: |-
host: hello-app
---
spring:
profiles: dev
host: hello-dev
apiVersion: v1
kind: ConfigMap
data:
application.yaml: |-
host: hello-app
---
spring:
profiles: dev
host: hello-dev