Skip to content

Commit

Permalink
operator/pkg/certs: test certs
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
mohamedawnallah committed Sep 16, 2024
1 parent 4c8bcd4 commit 755c2c4
Show file tree
Hide file tree
Showing 2 changed files with 956 additions and 0 deletions.
Loading

0 comments on commit 755c2c4

Please sign in to comment.