-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
Add Rotation certification Check, remove func to restart agents #7097
Conversation
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.
This testing should take place in a new, separate, E2E test. We do not want to add to validate_cluster.
…d add functions for start and stop server Signed-off-by: est-suse <[email protected]>
Signed-off-by: est-suse <[email protected]>
Codecov ReportPatch coverage has no change and project coverage change:
Additional details and impacted files@@ Coverage Diff @@
## master #7097 +/- ##
===========================================
+ Coverage 9.66% 19.83% +10.17%
===========================================
Files 147 81 -66
Lines 10766 7621 -3145
===========================================
+ Hits 1040 1512 +472
+ Misses 9508 5882 -3626
- Partials 218 227 +9
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
Signed-off-by: est-suse <[email protected]>
…otateCertificate command Signed-off-by: est-suse <[email protected]>
Signed-off-by: est-suse <[email protected]>
There is not longer a need to add an additional certificate rotation E2E test. One already exists at https://github.com/k3s-io/k3s/tree/master/tests/e2e/rotateca |
Expect(err).NotTo(HaveOccurred()) | ||
}) | ||
|
||
It("Verifies Certificate Rotation", func() { |
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.
Can we add this test as part of validate cluster? I suggest we don't need to create new resource for this test.
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.
It has been moved.
Thanks
1c16f5b
to
7df8f15
Compare
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.
Just remove some of the extra printlns that are in here and then it LGTM
@@ -203,13 +204,16 @@ var _ = Describe("Verify Create", Ordered, func() { | |||
|
|||
Eventually(func(g Gomega) { | |||
cmd := "kubectl get pods dnsutils --kubeconfig=" + kubeConfigFile | |||
fmt.Println("ESTEBAN DNS ACESS", cmd) |
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.
Remove debug lines
27c20b3
to
c2da4f1
Compare
Signed-off-by: est-suse <[email protected]>
Signed-off-by: Derek Nola <[email protected]>
* Add Certification Test to Validate Cluster Signed-off-by: est-suse <[email protected]> * Fix to stop/start for k3s certificate rotation Signed-off-by: Derek Nola <[email protected]> --------- Signed-off-by: est-suse <[email protected]> Signed-off-by: Derek Nola <[email protected]> Co-authored-by: est-suse <[email protected]> Co-authored-by: Derek Nola <[email protected]>
* Add Certification Test to Validate Cluster Signed-off-by: est-suse <[email protected]> * Fix to stop/start for k3s certificate rotation Signed-off-by: Derek Nola <[email protected]> --------- Signed-off-by: est-suse <[email protected]> Signed-off-by: Derek Nola <[email protected]> Co-authored-by: est-suse <[email protected]> Co-authored-by: Derek Nola <[email protected]>
* Bump docker go.mod (#7681) * Shortcircuit commands with version or help flags (#7683) * Fix for longhorn integration test * Add Rotation certification Check (#7097) * Add Certification Test to Validate Cluster * Fix to stop/start for k3s certificate rotation * E2E: Use sudo for all RunCmdOnNode * Remove unnecessary daemonset addition/deletion Signed-off-by: Derek Nola <[email protected]> Signed-off-by: est-suse <[email protected]> Signed-off-by: Brad Davidson <[email protected]> Co-authored-by: Esteban Esquivel Alvarado <[email protected]> Co-authored-by: est-suse <[email protected]> Co-authored-by: Brad Davidson <[email protected]>
* Add Certification Test to Validate Cluster Signed-off-by: est-suse <[email protected]> * Fix to stop/start for k3s certificate rotation Signed-off-by: Derek Nola <[email protected]> --------- Signed-off-by: est-suse <[email protected]> Signed-off-by: Derek Nola <[email protected]> Co-authored-by: est-suse <[email protected]> Co-authored-by: Derek Nola <[email protected]>
* Add Certification Test to Validate Cluster Signed-off-by: est-suse <[email protected]> * Fix to stop/start for k3s certificate rotation Signed-off-by: Derek Nola <[email protected]> --------- Signed-off-by: est-suse <[email protected]> Signed-off-by: Derek Nola <[email protected]> Co-authored-by: est-suse <[email protected]> Co-authored-by: Derek Nola <[email protected]> Signed-off-by: Derek Nola <[email protected]>
* Add Certification Test to Validate Cluster Signed-off-by: est-suse <[email protected]> * Fix to stop/start for k3s certificate rotation Signed-off-by: Derek Nola <[email protected]> --------- Signed-off-by: est-suse <[email protected]> Signed-off-by: Derek Nola <[email protected]> Co-authored-by: est-suse <[email protected]> Co-authored-by: Derek Nola <[email protected]> Signed-off-by: Derek Nola <[email protected]>
Proposed Changes
Types of Changes
Test
Verification
Run the test
Testing
N/A
Linked Issues
rancher/qa-tasks#597
User-Facing Change
Further Comments