You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fixed the missing implementation of selection with label in the datasource. Before it was only getting the pods with the name attribute, now it can select with labels
Terraform Version, Provider Version and Kubernetes Version
Affected Resource(s)
kubernetes.kubernetes_pod
Terraform Configuration Files
Debug Output
Error: resource name may not be empty
Expected Behavior
Work as the documentation say, allow to search for pod only with label. Metadata.name should not be required
I try to get the pod name after an helm installation.
In the documentation, the name attribute of metadata is in the optional block (https://registry.terraform.io/providers/hashicorp/kubernetes/latest/docs/data-sources/service.html#name-1) and it make sense for my case.
Actual Behavior
Metadata.name is required
References
https://registry.terraform.io/providers/hashicorp/kubernetes/latest/docs/data-sources/pod#name-278
Community Note
The text was updated successfully, but these errors were encountered: