Skip to content
New issue

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

Load certificate when they are updated when internal-encryption is enabled #13854

Merged
merged 11 commits into from
Apr 12, 2023

Commits on Apr 10, 2023

  1. Load certificate when they are updated

    Currently we need to restart activator when certificates are updated.
    This patch fixes it by:
    * Using `GetCertificate` for server certs.
    * Using `VerifyPeerCertificate` for custom CA verification.
    * Caching the cert for peformance.
    
    Fix knative#13694
    nak3 committed Apr 10, 2023
    Configuration menu
    Copy the full SHA
    7168736 View commit details
    Browse the repository at this point in the history
  2. Merge if statement

    nak3 committed Apr 10, 2023
    Configuration menu
    Copy the full SHA
    7be797f View commit details
    Browse the repository at this point in the history
  3. Use TLSConfig for cache

    nak3 committed Apr 10, 2023
    Configuration menu
    Copy the full SHA
    32d139c View commit details
    Browse the repository at this point in the history
  4. Use LegacyFakeDnsName

    nak3 committed Apr 10, 2023
    Configuration menu
    Copy the full SHA
    04e9970 View commit details
    Browse the repository at this point in the history
  5. Clean up

    nak3 committed Apr 10, 2023
    Configuration menu
    Copy the full SHA
    14eadfe View commit details
    Browse the repository at this point in the history
  6. Fix CI

    nak3 committed Apr 10, 2023
    Configuration menu
    Copy the full SHA
    21c8033 View commit details
    Browse the repository at this point in the history
  7. Drop delete and lock

    nak3 committed Apr 10, 2023
    Configuration menu
    Copy the full SHA
    cd542d8 View commit details
    Browse the repository at this point in the history

Commits on Apr 11, 2023

  1. Get secret beforehand

    nak3 committed Apr 11, 2023
    Configuration menu
    Copy the full SHA
    f7a2617 View commit details
    Browse the repository at this point in the history
  2. certificates to certificate

    nak3 committed Apr 11, 2023
    Configuration menu
    Copy the full SHA
    75590c8 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    727a752 View commit details
    Browse the repository at this point in the history
  4. Rename function

    nak3 committed Apr 11, 2023
    Configuration menu
    Copy the full SHA
    a5795f7 View commit details
    Browse the repository at this point in the history