feat(operator): persist CA certificate and key in secrets and reuse o…#2756
Open
Rucha0901 wants to merge 1 commit into
Open
feat(operator): persist CA certificate and key in secrets and reuse o…#2756Rucha0901 wants to merge 1 commit into
Rucha0901 wants to merge 1 commit into
Conversation
|
@Rucha0901 a few things here
others can feel free to chime in, just giving my thoughts here. |
Contributor
Author
|
Hello @vee1e ,I am so sorry for this inconvenience. Give me some time I will fix all things. |
Contributor
Author
|
@vee1e , As you asked I did the changes. |
…n rotation - Implemented CA certificate and key persistence in Kubernetes secrets to ensure stability on rotation. - Refactored PKI generation logic to support named return values. - Differentiated between transient and not-found secret retrieval errors to prevent unnecessary CA regenerations. - Added comprehensive unit tests in tls_test.go. Signed-off-by: Rucha0901 <imt_2025071@iiitm.ac.in>
4577732 to
5c77461
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Purpose of PR?:
Fixes #2755
Does this PR introduce a breaking change?
No
If the changes in this PR are manually verified, list down the scenarios covered::
pkg/KubeArmorOperatorcross-compiles cleanly withGOOS=linux go build ./....kubearmor-controller-webhook-server-certsecret.Additional information for reviewer? :
N/A
Checklist:
<type>(<scope>): <subject>