Closed recursivecodes closed 4 years ago
This was resolved with 2.1.0 via https://github.com/micronaut-projects/micronaut-core/issues/2417
Actually it isn't resolved. I have a file bootstrap-k8s.yml
that isn't loaded while running in Kubernetes with k8s
env name.
File a new issue with an example app
On Fri, Jul 16, 2021 at 7:45 AM Index @.***> wrote:
Actually it isn't resolved. I have a file bootstrap-k8s.yml that isn't loaded while running in Kubernetes with k8s env name.
— You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub https://github.com/micronaut-projects/micronaut-core/issues/3044#issuecomment-881387340, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAMCVLJ2NZKTPEG6WANAZZLTYALVNANCNFSM4MFQX4FQ .
File a new issue with an example app … On Fri, Jul 16, 2021 at 7:45 AM Index @.***> wrote: Actually it isn't resolved. I have a file bootstrap-k8s.yml that isn't loaded while running in Kubernetes with k8s env name. — You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub <#3044 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAMCVLJ2NZKTPEG6WANAZZLTYALVNANCNFSM4MFQX4FQ .
I'm sorry. All works fine, but to load environment-specific bootstrap file you also have to create default bootstrap.yml I don't know is it bug or not and it's not a major issue for me now.
Thanks for reporting an issue for Micronaut, please review the task list below before submitting the issue. Your issue report will be closed if the issue is incomplete and the below tasks not completed.
NOTE: If you are unsure about something and the issue is more of a question a better place to ask questions is on Stack Overflow (http://stackoverflow.com/tags/micronaut) or Gitter (https://gitter.im/micronautfw/). DO NOT use the issue tracker to ask questions.
Task List
Steps to Reproduce
bootstrap.yml
bootstrap-development.yml
java -Dmicronaut.environments=development -jar
Expected Behaviour
The environment specific boostrap file should be loaded.
Actual Behaviour
The application ignores the
bootstrap
file.Environment Information
Example Application