Skip to main content

KubernetesSecret

Resource KubernetesSecret in pulumi-portainer.
2 min read

Resource KubernetesSecret in pulumi-portainer.

Pulumi type: portainer:index/kubernetesSecret:KubernetesSecret.

name is the Pulumi resource name. Nested object fields are documented under that object. They are not arguments of this resource.

Example#

Only required arguments are set. A string in angle brackets stands in for that argument. Any other value is an option or example written in the SDK description.

Arguments#

PropertyTypeRequiredDescription
endpointIdnumberyesIdentifier of the Portainer Kubernetes environment (endpoint) where the Secret is managed. Changing this value forces resource recreation.
kubernetesSecretIdstringno
manifeststringyesRaw YAML or JSON manifest defining the Kubernetes Secret. May contain sensitive data; stored in Terraform state.
namespacestringyesKubernetes namespace in which the Secret is created.

Outputs#

Computed outputs are produced by the provider. They are not constructor arguments.

PropertyTypeComputedDescription
endpointIdnumbernoIdentifier of the Portainer Kubernetes environment (endpoint) where the Secret is managed. Changing this value forces resource recreation.
kubernetesSecretIdstringno
manifeststringnoRaw YAML or JSON manifest defining the Kubernetes Secret. May contain sensitive data; stored in Terraform state.
namespacestringnoKubernetes namespace in which the Secret is created.