struct
Kubernetes::FlexVolumeSource
- Kubernetes::FlexVolumeSource
- Struct
- Value
- Object
Overview
FlexVolume represents a generic volume resource that is provisioned/attached using an exec based plugin.
Included Modules
- JSON::Serializable
- Kubernetes::Serializable
- YAML::Serializable
Defined in:
generated/models/io_k8s_api_core_v1.crConstructors
- .new(ctx : YAML::ParseContext, node : YAML::Nodes::Node)
- .new(pull : ::JSON::PullParser)
- .new(*, __pull_for_json_serializable pull : ::JSON::PullParser)
- .new(*, __context_for_yaml_serializable ctx : YAML::ParseContext, __node_for_yaml_serializable node : YAML::Nodes::Node)
Macro Summary
-
field(name, type = nil, **options, &block)
Helper macro for defining fields with automatic camelCase conversion
Instance Method Summary
-
#driver : String | Nil
driver is the name of the driver to use for this volume.
-
#driver=(driver : String | Nil)
driver is the name of the driver to use for this volume.
-
#fs_type : String | Nil
fsType is the filesystem type to mount.
-
#fs_type=(fs_type : String | Nil)
fsType is the filesystem type to mount.
-
#options : Hash(String, String) | Nil
options is Optional: this field holds extra command options if any.
-
#options=(options : Hash(String, String) | Nil)
options is Optional: this field holds extra command options if any.
-
#read_only : Bool | Nil
readOnly is Optional: defaults to false (read/write).
-
#read_only=(read_only : Bool | Nil)
readOnly is Optional: defaults to false (read/write).
-
#secret_ref : LocalObjectReference | Nil
secretRef is Optional: secretRef is reference to the secret object containing sensitive information to pass to the plugin scripts.
-
#secret_ref=(secret_ref : LocalObjectReference | Nil)
secretRef is Optional: secretRef is reference to the secret object containing sensitive information to pass to the plugin scripts.
Constructor Detail
Macro Detail
Helper macro for defining fields with automatic camelCase conversion
Instance Method Detail
fsType is the filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". The default filesystem depends on FlexVolume script.
fsType is the filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". The default filesystem depends on FlexVolume script.
options is Optional: this field holds extra command options if any.
options is Optional: this field holds extra command options if any.
readOnly is Optional: defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.
readOnly is Optional: defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.
secretRef is Optional: secretRef is reference to the secret object containing sensitive information to pass to the plugin scripts. This may be empty if no secret object is specified. If the secret object contains more than one secret, all secrets are passed to the plugin scripts.
secretRef is Optional: secretRef is reference to the secret object containing sensitive information to pass to the plugin scripts. This may be empty if no secret object is specified. If the secret object contains more than one secret, all secrets are passed to the plugin scripts.