-
Hi all, I'm trying to use "io.quarkiverse.vault:**quarkus-vault:**2.1.0" with dev services in dev mode (quarkus:dev). The vault docker image is started automatically as expected and obviously the server has no secrets inside. So I decided to use the property "quarkus.vault.devservices.init-commands: 'vault kv put secret/config password="p@$$w0rd"" to populate secrets at the startup. And it seems that the command is not ok for quarkus (I tried the command in the started docker container and it works). The problem is that the warning message with the command information is only shown for a millisecond and then it's collapsed / overwritten with the next console information. I was looking the way to log that information to a file or configure the console to avoid overwriting the information but I didn't find any clue on how to do it. Questions;
|
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 4 replies
-
/cc @geoand, @stuartwdouglas, @vsevel |
Beta Was this translation helpful? Give feedback.
-
I recommend you to ask your question here instead: https://github.com/quarkiverse/quarkus-vault/discussions as it will ping the other people working on the extension. Providing a reproducer there might also be helpful. |
Beta Was this translation helpful? Give feedback.
-
Any Idea @kdubb ? |
Beta Was this translation helpful? Give feedback.
-
I answered in the vault discussion. The original issue is because The logging issue is just how the rollup works because regardless of the initializers being run the service is still started. Unless there is a way for warnings/errors to always be displayed even after rollup. |
Beta Was this translation helpful? Give feedback.
I answered in the vault discussion.
The original issue is because
vault
is in the arguments (when these are the arguments to thevault
cli).The logging issue is just how the rollup works because regardless of the initializers being run the service is still started. Unless there is a way for warnings/errors to always be displayed even after rollup.