-
Notifications
You must be signed in to change notification settings - Fork 1k
Open
Labels
Description
Description
In #2086 the kubernetes_endpoint_slice_v1 resource was introduced. But no corresponding data source.
Potential Terraform Configuration
data "kubernetes_endpoint_slice_v1" "kubernetes" {
metadata {
namespace = "default"
name = "kubernetes"
}
}
output "kubernetes_endpoint_ips" {
value = flatten([ for e in data.kubernetes_endpoint_slice_v1.kubernetes.endpoint : e.addresses if e.condition.ready ])
}References
- https://kubernetes.io/docs/concepts/services-networking/endpoint-slices/
- add
resource_kubernetes_endpointsliceย #2086 - EndpointSlice Resourceย #2050
Community Note
- Please vote on this issue by adding a ๐ reaction to the original issue to help the community and maintainers prioritize this request
- If you are interested in working on this issue or have submitted a pull request, please leave a comment
Reactions are currently unavailable