Skip to content

Latest commit

 

History

History
30 lines (23 loc) · 1.26 KB

File metadata and controls

30 lines (23 loc) · 1.26 KB

V1EnvFromSource

EnvFromSource represents the source of a set of ConfigMaps or Secrets

Properties

Name Type Description Notes
config_map_ref V1ConfigMapEnvSource [optional]
prefix str Optional text to prepend to the name of each environment variable. May consist of any printable ASCII characters except '='. [optional]
secret_ref V1SecretEnvSource [optional]

Example

from kubernetes.client.models.v1_env_from_source import V1EnvFromSource

# TODO update the JSON string below
json = "{}"
# create an instance of V1EnvFromSource from a JSON string
v1_env_from_source_instance = V1EnvFromSource.from_json(json)
# print the JSON string representation of the object
print(V1EnvFromSource.to_json())

# convert the object into a dict
v1_env_from_source_dict = v1_env_from_source_instance.to_dict()
# create an instance of V1EnvFromSource from a dict
v1_env_from_source_from_dict = V1EnvFromSource.from_dict(v1_env_from_source_dict)

[Back to Model list] [Back to API list] [Back to README]