k8s icon indicating copy to clipboard operation
k8s copied to clipboard

Istio VirtualService is missing spec.http.directResponse.withStatus()

Open xvzf opened this issue 1 year ago • 1 comments

It seems there's a bug in the generation, skipping the modifier for altering status codes in the directResponse (ref). At first glance, the CRD looks correct though

xvzf avatar Feb 09 '24 07:02 xvzf

This is probably cause because the status field is excluded, the code is probably too agressive here:

https://github.com/jsonnet-libs/k8s/blob/b1b4b4a60befb83f0422b5672f3db97b138057bc/pkg/model/modifiers.go#L19-L22

Duologic avatar Oct 11 '24 12:10 Duologic