Package io.quarkus.kubernetes.deployment
Interface EnvVarFromKeyConfig
public interface EnvVarFromKeyConfig
The configuration of environment variables taking their value from a Secret or ConfigMap field identified by its key.
-
Method Summary
Modifier and TypeMethodDescriptionThe optional name of the ConfigMap from which a value is to be extracted.The optional name of the Secret from which a value is to be extracted.withKey()The key identifying the field from which the value is extracted.
-
Method Details
-
fromSecret
The optional name of the Secret from which a value is to be extracted. Mutually exclusive withfromConfigmap(). -
fromConfigmap
The optional name of the ConfigMap from which a value is to be extracted. Mutually exclusive withfromSecret(). -
withKey
String withKey()The key identifying the field from which the value is extracted.
-