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

operator/pkg/certs: unit test Certificate Manager and Karmada Store #5559

Merged

Commits on Oct 19, 2024

  1. operator/pkg/certs: test certs

    In this commit, we introduce unit tests for operator `certs` package.
    The test cases include but not limited to:
    
    - Test private key generation.
    - Test self-signed certificate authority (CA) generation.
    - Verify creation of self-signed certificate and key files within the CA.
    - Include tests for utility functions, such as appending to Subject Alternative Names in SSL/TLS certificates.
    - Add tests for Karmada Store operations related to certificates stored in Kubernetes Secrets:
      - Create
      - Read
      - Update
      - Load
    
    Signed-off-by: Mohamed Awnallah <[email protected]>
    mohamedawnallah committed Oct 19, 2024
    Configuration menu
    Copy the full SHA
    a83c26e View commit details
    Browse the repository at this point in the history