-
Notifications
You must be signed in to change notification settings - Fork 4
KUBE-996: approve CSR from "kubernetes.io/kubelet-serving" for Cast nodes #173
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
Merged
Changes from 42 commits
Commits
Show all changes
46 commits
Select commit
Hold shift + click to select a range
5723e46
KUBE-996: add informer for CSR from "kubernetes.io/kubelet-serving"
ValyaB 0400264
lint
ValyaB 601e57d
add logs
ValyaB 600e016
add debug
ValyaB b5db061
fix cert key in progress
ValyaB 7cf37b3
update toCertificate
ValyaB cc33413
update toCertificate
ValyaB ec32520
rename
ValyaB 7d5f9bf
clean
ValyaB 5b2bb7f
clean
ValyaB 93f5b3d
clean
ValyaB 771bf33
update
ValyaB 5c59af9
clean
ValyaB b9a3652
back to size 1
ValyaB f4688bc
return error on not supported CSR
ValyaB e4e45e0
Merge branch 'main' into KUBE-996
ValyaB 42e1131
rename
ValyaB 26fe10f
rename
ValyaB 88242b2
rename
ValyaB a5e2abe
tests
ValyaB 243033f
validate certificate
ValyaB d9fdc04
fix
ValyaB 6af0981
revert return err on empty
ValyaB 87f9b41
lint
ValyaB 26b7dfd
back with error on empty
ValyaB eabc3bb
clean handler action
ValyaB c0629de
clean handler action
ValyaB 0e01d87
clean and refactor
ValyaB d9c8486
lint
ValyaB 77dccf2
add logging
ValyaB e1ec4c1
fix
ValyaB e0f95c3
tests
ValyaB 7da7545
lint
ValyaB 5c3aaad
upd
ValyaB 76af4db
fix usages
ValyaB ecb70d0
clean
ValyaB c2c61de
added tests
ValyaB 3c3aacc
clean original csrName
ValyaB d32ecc3
clean
ValyaB 94508f8
clean
ValyaB bfedbe7
lint
ValyaB aa10490
lint
ValyaB a722d21
clean
ValyaB c01fff6
rename
ValyaB 39f6525
add todo
ValyaB e33c215
fix
ValyaB File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
Oops, something went wrong.
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why not remove the code entirely?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The EP side can send it. I want to ensure it gets approved if EP sends it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why would EP send it? Even if it sends it, we will do nothing for the action itself.
if we want to have a "deprecated actions Noop" handler, then let's name it this way so it's usable in other situations.
But this is still dead code imo and can be handled by the "missing handler" path if it ever receives the action by chance.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
renamed to ApproveCSRHandlerDeprecated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We should process and acknowledge the action to maintain logical consistency.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If EP sends approve csr action, we should handle and acknowledge it.
if we not acknowledged - CH will try to send it again or fail AddNode action