Resource Type: kubernetes_env_var_source
- Defined in:
- lib/puppet/type/kubernetes_env_var_source.rb
- Providers:
-
swagger
Overview
EnvVarSource represents a source for the value of an EnvVar.
Properties
-
config_map_key_ref
Selects a key of a ConfigMap.
-
ensure
(defaults to: present)
The basic property that the resource should be in.
Supported values:- present
- absent
-
field_ref
Selects a field of the pod: supports metadata.name, metadata.namespace, metadata.labels, metadata.annotations, spec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP.
-
resource_field_ref
Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, requests.cpu and requests.memory) are currently supported.
-
secret_key_ref
Selects a key of a secret in the pod’s namespace
Parameters
-
name (namevar)
Name of the env_var_source.
-
provider
The specific backend to use for this ‘kubernetes_env_var_source` resource. You will seldom need to specify this — Puppet will usually discover the appropriate provider for your platform.