Resource Type: kubernetes_volume_mount

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

Overview

VolumeMount describes a mounting of a Volume within a container.

Properties

  • ensure (defaults to: present)

    The basic property that the resource should be in.

    Supported values:
    • present
    • absent
  • mount_path

    Path within the container at which the volume should be mounted. Must not contain ‘:’.

  • name (namevar)

    This must match the Name of a Volume.

  • read_only

    Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.

  • sub_path

    Path within the volume from which the container’s volume should be mounted. Defaults to ” (volume’s root).

Parameters

  • name

    Name of the volume_mount.

  • provider

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