terraform-provider-kubernetes
terraform-provider-kubernetes copied to clipboard
`services`: add `trafficDistribution` field in `service.spec`
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 I can take this up if no one's currently working on it!
@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!
Okay sure, I'll have a look into it!
@BBBmau I'll glance over this issue next week and if it's not tackled I don't mind tackling this for Q4
can this issue be closed then, since it will be fixed in v3? Or will it remain open until v3 release?