Uploaded image for project: 'Knative Serving'
  1. Knative Serving
  2. SRVKS-457

Enhance Route webhook validation to not allow invalid characters

XMLWordPrintable

    • Icon: Story Story
    • Resolution: Done
    • Icon: Undefined Undefined
    • None
    • None
    • None
    • Serverless Sprint 182, Serverless Sprint 183

      Periods are not allowed in the Knative Route traffic tags. But, the webhook Route validation happily lets these periods (and other disallowed characters) through only to later fail to create the Kubernetes Service with an error that names must adhere to DNS-1035.

      It's a better user experience - both on CLI and via web console - if we do this validation in the webhook instead of later during the reconcile loop.

              rhn-support-knakayam Kenjiro Nakayama (Inactive)
              bbrownin@redhat.com Ben Browning
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: