Skip to content

All Hops Encrypted: Activator serving TLS #12501

Closed

Description

@evankanderson

Larger description in the Feature Track document

Summary:

The Activator should support TLS serving if a certificate is mounted to the correct location on the filesystem. It's expected this would be managed and exposed by the cluster administrator for alpha, and automatically created and managed at a later stage.

If the certificates are present, the activator should enable a port for TLS serving -- this could either be the existing port, or a second newly-defined port (implementer's choice -- they should document the choice and reason).

Recommended configuration extension for the activator Deployment for alpha to enable mounting secrets if they exist:

spec:
  template:
    spec:
      containers:
      - ...
        volumeMounts:
        - name: tls
          mountPath: /tls/server
        - readOnly: true
      volumes:
      - name: tls
        secret:
          secretName: activator-tls
          optional: true

Activity

  1. added
    kind/feature
    on Jan 13, 2022
  2. evankanderson commented on Jan 13, 2022

    @evankanderson
    MemberAuthor

    Ref nak3#25 for a prototype

  3. nak3 commented on Apr 6, 2022

    @nak3
    Contributor

    @evankanderson Do you have a reason why you suggested volume mount instead of using fetching secret? I think it is better to support secret as b3e467c .

  4. nak3 commented on Apr 6, 2022

    @nak3
    Contributor

    I sent the request knative/networking#648 as using secret makes much easier for implementaion and configurations.

  5. evankanderson commented on Apr 6, 2022

    @evankanderson
    MemberAuthor

    I suggested volume mount because it seemed like it might automatically handle certificate rotation, but I don't feel strongly. We can also load the Secret directly from the apiserver.

    When we initially worked on the TLS and ConfigMap support in Knative, optional volume mounts weren't a thing yet.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/feature

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions