struct

Kubernetes::StorageOSPersistentVolumeSource

Inherits YAML::Serializable < JSON::Serializable < Kubernetes::Serializable < Struct < Value < Object

Represents a StorageOS persistent volume resource.

Constructors

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)

Instance methods

fs_type

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.

Source
fs_type=(fs_type : String | Nil)

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.

Source
read_only

readOnly defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.

Source
read_only=(read_only : Bool | Nil)

readOnly defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.

Source
secret_ref

secretRef specifies the secret to use for obtaining the StorageOS API credentials. If not specified, default values will be attempted.

Source
secret_ref=(secret_ref : ObjectReference | Nil)

secretRef specifies the secret to use for obtaining the StorageOS API credentials. If not specified, default values will be attempted.

Source
volume_name

volumeName is the human-readable name of the StorageOS volume. Volume names are only unique within a namespace.

Source
volume_name=(volume_name : String | Nil)

volumeName is the human-readable name of the StorageOS volume. Volume names are only unique within a namespace.

Source
volume_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.

Source
volume_namespace=(volume_namespace : String | Nil)

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.

Source

Macros

field(name, type = nil, **options, &block)

Helper macro for defining fields with automatic camelCase conversion

Source