The validation webhook for proxy-related Annotations does not return errors. #11726
Labels
kind/feature
Categorizes issue or PR as related to a new feature.
lifecycle/frozen
Indicates that an issue or PR should not be auto-closed due to staleness.
needs-priority
needs-triage
Indicates an issue or PR lacks a `triage/foo` label and requires one.
apiVersion: networking.k8s.io/v1 kind: Ingress metadata: annotations: nginx.ingress.kubernetes.io/proxy-read-timeout: "120s" name: my-ip-ingress namespace: default spec: ingressClassName: nginx rules: - host: www.example.com http: paths: - backend: service: name: httpbin port: number: 8000 path: / pathType: Prefix
Some Nginx users often misconfigure the related timeout settings, but the webhook doesn't provide any error feedback, which is incorrect.
the coorect annotation should be:
nginx.ingress.kubernetes.io/proxy-read-timeout: "120"
The fix should be straightforward; just modify the parsing logic in internal/ingress/annotations/proxy/main.go. I hope someone can fix this issue. Thank you.
The text was updated successfully, but these errors were encountered: