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

🌱 Add support for CA/certificate rotation #1062

Merged
merged 4 commits into from
Jul 22, 2024

Commits on Jul 18, 2024

  1. Add support for CA/certificate rotation

    Mounted secrets are automatically updated into pods, but...
    * It doesn't work with `subPath` mountings
    * When `subPath` is not used, then a bunch of directories are mounted
    * And one of those directories is a symlink, so `IsDir()` returns false
    * And a watch is needed to notice the change
    
    So, update the certificate volume patch, which requires a change in how
    we look for certificates in the CA cert directory.
    
    Add a watch, so when the certs do change, we update the cert pool.
    
    Also look at validity dates of certificates, and error on expired certs.
    
    The default cert-manager certificates have 90 days validities.
    
    Signed-off-by: Todd Short <tshort@redhat.com>
    tmshort committed Jul 18, 2024
    Configuration menu
    Copy the full SHA
    7965072 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    e52b5b7 View commit details
    Browse the repository at this point in the history

Commits on Jul 19, 2024

  1. fixup! Add support for CA/certificate rotation

    Signed-off-by: Todd Short <tshort@redhat.com>
    tmshort committed Jul 19, 2024
    Configuration menu
    Copy the full SHA
    5e7beee View commit details
    Browse the repository at this point in the history
  2. fixup! Add support for CA/certificate rotation

    Signed-off-by: Todd Short <tshort@redhat.com>
    tmshort committed Jul 19, 2024
    Configuration menu
    Copy the full SHA
    5eea072 View commit details
    Browse the repository at this point in the history