Resource Type: kubernetes_object_reference
- Defined in:
- lib/puppet/type/kubernetes_object_reference.rb
- Providers:
-
swagger
Overview
ObjectReference contains enough information to let you inspect or modify the referred object.
Properties
-
ensure
(defaults to: present)
The basic property that the resource should be in.
Supported values:- present
- absent
-
field_path
If referring to a piece of an object instead of an entire object, this string should contain a valid JSON/Go field access statement, such as desiredState.manifest.containers. For example, if the object reference is to a container within a pod, this would take on a value like: ‘spec.containersname’ (where ‘name’ refers to the name of the container that triggered the event) or if no container name is specified ‘spec.containers’ (container with index 2 in this pod). This syntax is chosen only to have some well-defined way of referencing a part of an object.
-
name (namevar)
Name of the referent. More info: kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
-
namespace
Namespace of the referent. More info: kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/
-
resource_version
Specific resourceVersion to which this reference is made, if any. More info: git.k8s.io/community/contributors/devel/api-conventions.md#concurrency-control-and-consistency
-
uid
UID of the referent. More info: kubernetes.io/docs/concepts/overview/working-with-objects/names/#uids
Parameters
-
name
Name of the object_reference.
-
provider
The specific backend to use for this ‘kubernetes_object_reference` resource. You will seldom need to specify this — Puppet will usually discover the appropriate provider for your platform.