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

Automated cherry pick of #6205: Do not try to update type of Secret in selfSignedCertProvider #6208

Commits on Apr 10, 2024

  1. Do not try to update type of Secret in selfSignedCertProvider (antrea…

    …-io#6205)
    
    If a cluster used user-provided certificate and created a Secret named
    antrea-controller-tls of Opaque type, changing to use self-signed
    certificate would fail because the type field is immutable.
    
    To support switching the certificate provider, we don't try to update
    the type of Secret if it already exists.
    
    Signed-off-by: Quan Tian <[email protected]>
    tnqn committed Apr 10, 2024
    Configuration menu
    Copy the full SHA
    1caea89 View commit details
    Browse the repository at this point in the history