Resource Type: kubernetes_flex_volume_source

Defined in:
lib/puppet/type/kubernetes_flex_volume_source.rb
Providers:
swagger

Overview

FlexVolume represents a generic volume resource that is provisioned/attached using an exec based plugin. This is an alpha feature and may change in future.

Properties

  • driver

    Driver is the name of the driver to use for this volume.

  • ensure (defaults to: present)

    The basic property that the resource should be in.

    Supported values:
    • present
    • absent
  • fs_type

    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

    Optional: Extra command options if any.

  • read_only

    Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.

  • secret_ref

    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.

Parameters

  • name (namevar)

    Name of the flex_volume_source.

  • provider

    The specific backend to use for this ‘kubernetes_flex_volume_source` resource. You will seldom need to specify this — Puppet will usually discover the appropriate provider for your platform.