Resource Type: kubernetes_api_resource

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

Overview

APIResource specifies the name of a resource and whether it is namespaced.

Properties

  • categories

    categories is a list of the grouped resources this resource belongs to (e.g. ‘all’)

  • ensure (defaults to: present)

    The basic property that the resource should be in.

    Supported values:
    • present
    • absent
  • name (namevar)

    name is the plural name of the resource.

  • namespaced

    namespaced indicates if a resource is namespaced or not.

  • short_names

    shortNames is a list of suggested short names of the resource.

  • singular_name

    singularName is the singular name of the resource. This allows clients to handle plural and singular opaquely. The singularName is more correct for reporting status on a single item and both singular and plural are allowed from the kubectl CLI interface.

  • verbs

    verbs is a list of supported kube verbs (this includes get, list, watch, create, update, patch, delete, deletecollection, and proxy)

Parameters

  • name

    Name of the api_resource.

  • provider

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