Package io.quarkus.kubernetes.deployment
Class EnvVarFromKeyConfig
- java.lang.Object
-
- io.quarkus.kubernetes.deployment.EnvVarFromKeyConfig
-
public class EnvVarFromKeyConfig extends Object
The configuration of environment variables taking their value from a Secret or ConfigMap field identified by its key.
-
-
Field Summary
Fields Modifier and Type Field Description (package private) Optional<String>fromConfigmapThe optional name of the ConfigMap from which a value is to be extracted.(package private) Optional<String>fromSecretThe optional name of the Secret from which a value is to be extracted.(package private) StringwithKeyThe key identifying the field from which the value is extracted.
-
Constructor Summary
Constructors Constructor Description EnvVarFromKeyConfig()
-
-
-
Field Detail
-
fromSecret
@ConfigItem Optional<String> fromSecret
The optional name of the Secret from which a value is to be extracted. Mutually exclusive withfromConfigmap.
-
fromConfigmap
@ConfigItem Optional<String> fromConfigmap
The optional name of the ConfigMap from which a value is to be extracted. Mutually exclusive withfromSecret.
-
withKey
@ConfigItem String withKey
The key identifying the field from which the value is extracted.
-
-