Externalize application.yml file using Kubernetes ConfigMaps #3942
-
I am new to Micronaut and am trying to figure out how to externalize a services application.yml file using Kubernetes ConfigMaps. So far I have added a bootstrap.yml file that is setup as shown here: Here is my bootstrap.yml: ---
micronaut:
application:
name: retrieve-service
config-client:
enabled: true
---
kubernetes:
client:
config-maps:
includes:
- config In my build.gradle I have: ...
dependencies {
...
implementation "io.micronaut.kubernetes:micronaut-kubernetes-discovery-client:1.1.0"
... |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 4 replies
-
@alvarosanchez maybe able to help here |
Beta Was this translation helpful? Give feedback.
-
@darrenSchlager which Micronaut version are you using? Can you share a sample application? |
Beta Was this translation helpful? Give feedback.
@darrenSchlager which Micronaut version are you using? Can you share a sample application?