Skip to content

Add DataPlan-Trust implementation for Activator #13968

@davidhadas

Description

@davidhadas

See serving #11906
See https://docs.google.com/document/d/1XE7UzgQlVVtAb7ULSqOyKCaIHtm8zMF35ainp1JmwyY/

This issue focuses on adding DataPlan-Trust support for Activator and Queue including options for:
dataplane-trust = "minimal" (common names for all namespaces)
dataplane-trust = "enabled" (per namespace)
dataplane-trust = "mutual" mTLS

It includes the necessary changes needed for:

  1. QP Server will present the DataPlane User Certificate with names "data-plane.knative.dev" and "kn-user-<namespace>"
  2. Activator Client will always present the data plane certificate with the name "kn-routing-0"
  3. If dataplane-trust = "minimal", Activator Client will verify server certificate has the name "data-plane.knative.dev"
    otherwise, Activator Client will verify server certificate has the name "kn-user-<namespace>"
  4. Activator Server will present the DataPlane Routing Certificate with the name "kn-routing-0"
  5. If dataplane-trust = "mutual", Activator Server will verify the Client certificate having the name "kn-routing-0"
    Until such time that all ingresses use the new DataPlane Routing certificate, we should also accept "data-plane.knative.dev"

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/featureWell-understood/specified features, ready for coding.lifecycle/staleDenotes an issue or PR has remained open with no activity and has become stale.

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions