-
Notifications
You must be signed in to change notification settings - Fork 2.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support Kubernetes ConfigMap and Secrets as configuration/value sources #6745
Comments
approaches being discussed for this at smallrye/smallrye-config#215 |
From the mailing list, it would be nice to have a configuration source that a) use token at /var/run/secrets/kubernetes.io/serviceaccount/token |
This solution, when implemented, which be about much more than Kubernetes ConfigMaps. It will just make ConfigMaps retrieval very easy and completely integrated with the rest of the Quarkus way of doing things |
If this results in not actually needing a @radcortez, do you have any thoughts on this? |
The discussion around smallrye/smallrye-config#215 is more related to Quarkus than SmallRye. I believe we don't need anything in SmallRye to support what Quarkus is doing, but please let us know if we are missing something. |
This should now be fairly easy to implement because we have the notion of a bootstrap configuration (see https://github.com/quarkusio/quarkus/blob/master/extensions/spring-cloud-config-client/runtime/src/main/java/io/quarkus/spring/cloud/config/client/runtime/SpringCloudConfigClientRecorder.java#L19). |
I'll hopefully try and get a first version of this for 1.4 |
#8376 contains an implementation of this |
Support Kubernetes ConfigMap and Secrets as configuration/value sources
Description
Is #305 (comment) about mapping config map to a "magic destination" what we expect users to do for kubernetes deployments ?
Would it be better that quarkus-kubernetes extension or maybe a separate quarkus-kubernetes-config extension would have a configuration source that could be added in with a fairly high precedence order by default.
And then kubernetes-secrets would be available somehow to resolve values in any config source ?
The text was updated successfully, but these errors were encountered: