You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using quarkus kubernetes I need to set up a environment variable with value null
but I get
The config property quarkus.kubernetes.env.vars.TESTVAR is defined as the empty String ("") which the following Converter considered to be null: io.smallrye.config.Converters$BuiltInConverter -> [Help 1]
Describe the bug
When using quarkus kubernetes I need to set up a environment variable with value null
but I get
I think the problem is that in https://github.com/quarkusio/quarkus/blob/main/extensions/kubernetes/vanilla/deployment/src/main/java/io/quarkus/kubernetes/deployment/EnvVarsConfig.java the vars map is String->String and should be String->Optional if we do want this behavior to be possible.
Expected behavior
Being able to define env variables with empty values.
Actual behavior
An error prevents this.
How to Reproduce?
quarkus.kubernetes.env.vars.TESTVAR=
Output of
uname -a
orver
No response
Output of
java -version
openjdk version "17.0.2" 2022-01-18
GraalVM version (if different from Java)
No response
Quarkus version or git rev
<quarkus.platform.version>2.11.3.Final</quarkus.platform.version>
Build tool (ie. output of
mvnw --version
orgradlew --version
)Apache Maven 3.8.5
Additional information
No response
The text was updated successfully, but these errors were encountered: