Resource Type: kubernetes_status_cause

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

Overview

StatusCause provides more information about an api.Status failure, including cases when multiple errors are encountered.

Properties

  • ensure (defaults to: present)

    The basic property that the resource should be in.

    Supported values:
    • present
    • absent
  • field

    The field of the resource that has caused this error, as named by its JSON serialization. May include dot and postfix notation for nested attributes. Arrays are zero-indexed. Fields may appear more than once in an array of causes due to fields having multiple errors. Optional.

    Examples:

    'name' - the field 'name' on the current resource
    'items[0].name' - the field 'name' on the first array entry in 'items'
    
  • message

    A human-readable description of the cause of the error. This field may be presented as-is to a reader.

  • reason

    A machine-readable description of the cause of the error. If this value is empty there is no information available.

Parameters

  • name (namevar)

    Name of the status_cause.

  • provider

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