struct
Kubernetes::StorageOSVolumeSource
- Kubernetes::StorageOSVolumeSource
- Struct
- Value
- Object
Overview
Represents a StorageOS persistent volume resource.
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
-
#fs_type : String | Nil
fsType is the filesystem type to mount.
-
#fs_type=(fs_type : String | Nil)
fsType is the filesystem type to mount.
-
#read_only : Bool | Nil
readOnly defaults to false (read/write).
-
#read_only=(read_only : Bool | Nil)
readOnly defaults to false (read/write).
-
#secret_ref : LocalObjectReference | Nil
secretRef specifies the secret to use for obtaining the StorageOS API credentials.
-
#secret_ref=(secret_ref : LocalObjectReference | Nil)
secretRef specifies the secret to use for obtaining the StorageOS API credentials.
-
#volume_name : String | Nil
volumeName is the human-readable name of the StorageOS volume.
-
#volume_name=(volume_name : String | Nil)
volumeName is the human-readable name of the StorageOS volume.
-
#volume_namespace : String | Nil
volumeNamespace specifies the scope of the volume within StorageOS.
-
#volume_namespace=(volume_namespace : String | Nil)
volumeNamespace specifies the scope of the volume within StorageOS.
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". Implicitly inferred to be "ext4" if unspecified.
fsType is the filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified.
readOnly defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.
readOnly defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.
secretRef specifies the secret to use for obtaining the StorageOS API credentials. If not specified, default values will be attempted.
secretRef specifies the secret to use for obtaining the StorageOS API credentials. If not specified, default values will be attempted.
volumeName is the human-readable name of the StorageOS volume. Volume names are only unique within a namespace.
volumeName is the human-readable name of the StorageOS volume. Volume names are only unique within a namespace.
volumeNamespace specifies the scope of the volume within StorageOS. If no namespace is specified then the Pod's namespace will be used. This allows the Kubernetes name scoping to be mirrored within StorageOS for tighter integration. Set VolumeName to any name to override the default behaviour. Set to "default" if you are not using namespaces within StorageOS. Namespaces that do not pre-exist within StorageOS will be created.
volumeNamespace specifies the scope of the volume within StorageOS. If no namespace is specified then the Pod's namespace will be used. This allows the Kubernetes name scoping to be mirrored within StorageOS for tighter integration. Set VolumeName to any name to override the default behaviour. Set to "default" if you are not using namespaces within StorageOS. Namespaces that do not pre-exist within StorageOS will be created.