k8s
k8s copied to clipboard
Istio VirtualService is missing spec.http.directResponse.withStatus()
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
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