Skip to content

Latest commit

 

History

History
29 lines (22 loc) · 1.82 KB

File metadata and controls

29 lines (22 loc) · 1.82 KB

V1DownwardAPIVolumeSource

DownwardAPIVolumeSource represents a volume containing downward API info. Downward API volumes support ownership management and SELinux relabeling.

Properties

Name Type Description Notes
default_mode int Optional: mode bits to use on created files by default. Must be a Optional: mode bits used to set permissions on created files by default. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set. [optional]
items List[V1DownwardAPIVolumeFile] Items is a list of downward API volume file [optional]

Example

from kubernetes.client.models.v1_downward_api_volume_source import V1DownwardAPIVolumeSource

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

# convert the object into a dict
v1_downward_api_volume_source_dict = v1_downward_api_volume_source_instance.to_dict()
# create an instance of V1DownwardAPIVolumeSource from a dict
v1_downward_api_volume_source_from_dict = V1DownwardAPIVolumeSource.from_dict(v1_downward_api_volume_source_dict)

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