terraform-provider-kubernetes icon indicating copy to clipboard operation
terraform-provider-kubernetes copied to clipboard

`services`: add `trafficDistribution` field in `service.spec`

Open BBBmau opened this issue 1 year ago • 3 comments

Description

v1.31 graduated trafficDistributions field from alpha to beta with the feature gate being set to enabled by default.

k8s PR: https://github.com/kubernetes/enhancements/issues/4444 Service Documentation: https://kubernetes.io/docs/concepts/services-networking/service/#traffic-distribution

The API docs mentions that this is in alpha, this is wrong and an issue has been raised on the k8s website repo: https://github.com/kubernetes/website/issues/47776

changes would needed to be applied with structure_service_spec.go: https://github.com/hashicorp/terraform-provider-kubernetes/blob/65f1a7dd7d46d6e371e083f3e5ed0b0abca09daa/kubernetes/structure_service_spec.go#L56-L69

References

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

BBBmau avatar Sep 03 '24 23:09 BBBmau

@BBBmau I can take this up if no one's currently working on it!

aayushsss1 avatar Oct 07 '24 14:10 aayushsss1

@aayushsss1 this would be good to pick up, however this also would fall under blocked since it can only be merged once we've addressed the k8s version bump in the next major release of the provider.

You are welcome to work on it if still interested!

BBBmau avatar Oct 08 '24 19:10 BBBmau

Okay sure, I'll have a look into it!

aayushsss1 avatar Oct 09 '24 03:10 aayushsss1

@BBBmau I'll glance over this issue next week and if it's not tackled I don't mind tackling this for Q4

JaylonmcShan03 avatar Oct 29 '24 14:10 JaylonmcShan03

can this issue be closed then, since it will be fixed in v3? Or will it remain open until v3 release?

Jasper-Ben avatar Aug 06 '25 17:08 Jasper-Ben