Skip to main content

KubernetesIngresses

Resource KubernetesIngresses in pulumi-portainer.
4 min read

Resource KubernetesIngresses in pulumi-portainer.

Pulumi type: portainer:index/kubernetesIngresses:KubernetesIngresses.

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
annotations{ [key: string]: string }noAnnotations applied to the Ingress resource as key/value strings.
classNamestringnoName of the IngressClass that should handle this Ingress (sets spec.ingressClassName).
environmentIdnumberyesIdentifier of the Portainer Kubernetes environment where the Ingress resource is managed.
hostsstring[]noList of hostnames associated with the Ingress.
kubernetesIngressesIdstringno
labels{ [key: string]: string }noLabels applied to the Ingress resource as key/value strings.
namestringnoName of the Kubernetes Ingress resource.
namespacestringyesKubernetes namespace in which the Ingress is created.
pathsKubernetesIngressesPath (input)[]noList of routing rules mapping host/path combinations to backend Kubernetes services.
tlsKubernetesIngressesTl (input)[]noTLS configuration blocks for the Ingress, each pairing a list of hosts with a TLS secret.

Outputs#

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

PropertyTypeComputedDescription
annotations{ [key: string]: string }noAnnotations applied to the Ingress resource as key/value strings.
classNamestringnoName of the IngressClass that should handle this Ingress (sets spec.ingressClassName).
environmentIdnumbernoIdentifier of the Portainer Kubernetes environment where the Ingress resource is managed.
hostsstring[]noList of hostnames associated with the Ingress.
kubernetesIngressesIdstringno
labels{ [key: string]: string }noLabels applied to the Ingress resource as key/value strings.
namestringnoName of the Kubernetes Ingress resource.
namespacestringnoKubernetes namespace in which the Ingress is created.
pathsKubernetesIngressesPath (output)[]noList of routing rules mapping host/path combinations to backend Kubernetes services.
tlsKubernetesIngressesTl (output)[]noTLS configuration blocks for the Ingress, each pairing a list of hosts with a TLS secret.

KubernetesIngressesPath (input)#

Input object KubernetesIngressesPath. Fields below belong to this object, not to the parent.

PropertyTypeRequiredDescription
hoststringyesHostname matched by this routing rule.
pathstringyesURL path matched by this routing rule.
pathTypestringyesPath matching strategy (Exact, Prefix, or ImplementationSpecific).
portnumberyesPort on the backend Service that traffic is forwarded to.
serviceNamestringyesName of the Kubernetes Service that receives traffic for this rule.

KubernetesIngressesTl (input)#

Input object KubernetesIngressesTl. Fields below belong to this object, not to the parent.

PropertyTypeRequiredDescription
hostsstring[]noList of hostnames covered by the referenced TLS secret.
secretNamestringnoName of the Kubernetes Secret containing the TLS certificate and key.

KubernetesIngressesPath (output)#

Output object KubernetesIngressesPath. Fields below belong to this object.

PropertyTypeAlways presentDescription
hoststringyesHostname matched by this routing rule.
pathstringyesURL path matched by this routing rule.
pathTypestringyesPath matching strategy (Exact, Prefix, or ImplementationSpecific).
portnumberyesPort on the backend Service that traffic is forwarded to.
serviceNamestringyesName of the Kubernetes Service that receives traffic for this rule.

KubernetesIngressesTl (output)#

Output object KubernetesIngressesTl. Fields below belong to this object.

PropertyTypeAlways presentDescription
hostsstring[]noList of hostnames covered by the referenced TLS secret.
secretNamestringnoName of the Kubernetes Secret containing the TLS certificate and key.