Invalid env value with Quarkus RestClient property when create kubernetes deployment
You can use environment variables in application.properties
so you could do something like:
country-api/mp-rest/url=${MY_SERVICE_URL}
and define MY_SERVICE_URL
in your Yaml file.
Also, MicroProfile Config has a way to work around your issue. Using COUNTRY_API_MP_REST_URL
as an environment variable should work (uppercase everything, replace anything non alphanumeric with _
).