We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
$ kong version
3.6.1
Adding following faulty HTTPRoute:
apiVersion: gateway.networking.k8s.io/v1 kind: HTTPRoute metadata: name: broken-http-route annotations: konghq.com/strip-path: "false" konghq.com/preserve-host: "false" konghq.com/protocols: https spec: hostnames: - broken.api-ch-dev.balgroupit.com rules: - matches: - path: type: RegularExpression value: .*\.do - path: type: RegularExpression value: .*\.css - path: type: RegularExpression value: .*\.woff2 - path: type: RegularExpression value: .*\.js - path: type: RegularExpression value: .*\.svg backendRefs: - name: echo-host-service kind: Service port: 1027
is not rejected by the AdmissionWebhook while the IngressController discovers the error:
Update route httproute.ch-kong-dev.broken-http-route.0.0 failed: HTTP status 400 (message: "5 schema violations (paths.1: should start with: / (fixed path) or ~/ (regex path); paths.2: should start with: / (fixed path) or ~/ (regex path); paths.3: should start with: / (fixed path) or ~/ (regex path); paths.4: should start with: / (fixed path) or ~/ (regex path); paths.5: should start with: / (fixed path) or ~/ (regex path))")
Admissionwebhook rejects the HTTPRoute.
See current behaviour
No response
The text was updated successfully, but these errors were encountered:
@randmonkey , could you take a look at this?
Sorry, something went wrong.
No branches or pull requests
Is there an existing issue for this?
Kong version (
$ kong version
)3.6.1
Current Behavior
Adding following faulty HTTPRoute:
is not rejected by the AdmissionWebhook while the IngressController discovers the error:
Update route httproute.ch-kong-dev.broken-http-route.0.0 failed: HTTP status 400 (message: "5 schema violations (paths.1: should start with: / (fixed path) or ~/ (regex path); paths.2: should start with: / (fixed path) or ~/ (regex path); paths.3: should start with: / (fixed path) or ~/ (regex path); paths.4: should start with: / (fixed path) or ~/ (regex path); paths.5: should start with: / (fixed path) or ~/ (regex path))")
Expected Behavior
Admissionwebhook rejects the HTTPRoute.
Steps To Reproduce
See current behaviour
Anything else?
No response
The text was updated successfully, but these errors were encountered: