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

[internal] Renewal of expiring certs; go hook migration; cert alerts #223

Open
wants to merge 71 commits into
base: main
Choose a base branch
from

Conversation

astef
Copy link
Member

@astef astef commented Feb 28, 2025

Description

This is combination of three functionalities:

Why do we need it, and what problem does it solve?

  • It will let users know that certificates are going to expire soon in sds-replicated-volume module
  • User will be able to renew certificates manually and safely (turning off/on linstor)
  • We are migrating from deprecated python hooks to Go hooks and modern SDK

What is the expected result?

  • Prometheus alert should become red, once any of the certificates in Secrets is to expire in 30d or less.
  • Go hooks are replacing python hooks
  • Users are able to manually renew certs

Checklist

  • The code is covered by unit tests.
  • e2e tests passed.
  • Documentation updated according to the changes.
  • Changes were tested in the Kubernetes cluster manually.

Signed-off-by: Aleksandr Stefurishin <[email protected]>
@astef astef self-assigned this Feb 28, 2025
@astef astef added the enhancement New feature or request label Feb 28, 2025
Signed-off-by: Aleksandr Stefurishin <[email protected]>
Signed-off-by: Aleksandr Stefurishin <[email protected]>
Signed-off-by: Aleksandr Stefurishin <[email protected]>
Signed-off-by: Aleksandr Stefurishin <[email protected]>
Signed-off-by: Aleksandr Stefurishin <[email protected]>
Signed-off-by: Aleksandr Stefurishin <[email protected]>
Signed-off-by: Aleksandr Stefurishin <[email protected]>
astef and others added 2 commits February 28, 2025 20:08
Co-authored-by: Aleksandr Zimin <[email protected]>
Signed-off-by: Aleksandr Stefurishin <[email protected]>
Co-authored-by: Aleksandr Zimin <[email protected]>
Signed-off-by: Aleksandr Stefurishin <[email protected]>
@astef astef marked this pull request as ready for review March 3, 2025 08:52
@astef astef changed the title [monitoring] Alert for certificates, which will expire soon [monitoring] Renewal of expiring certs Mar 3, 2025
@astef astef changed the title [monitoring] Renewal of expiring certs [internal] Renewal of expiring certs Mar 3, 2025
@astef astef marked this pull request as draft March 3, 2025 16:44
astef added 12 commits March 4, 2025 10:34
Signed-off-by: Aleksandr Stefurishin <[email protected]>
Signed-off-by: Aleksandr Stefurishin <[email protected]>
Signed-off-by: Aleksandr Stefurishin <[email protected]>
Signed-off-by: Aleksandr Stefurishin <[email protected]>
Signed-off-by: Aleksandr Stefurishin <[email protected]>
Signed-off-by: Aleksandr Stefurishin <[email protected]>
Signed-off-by: Aleksandr Stefurishin <[email protected]>
Signed-off-by: Aleksandr Stefurishin <[email protected]>
Signed-off-by: Aleksandr Stefurishin <[email protected]>
Signed-off-by: Aleksandr Stefurishin <[email protected]>
Signed-off-by: Aleksandr Stefurishin <[email protected]>
astef added 15 commits March 21, 2025 09:52
Signed-off-by: Aleksandr Stefurishin <[email protected]>
Signed-off-by: Aleksandr Stefurishin <[email protected]>
Signed-off-by: Aleksandr Stefurishin <[email protected]>
Signed-off-by: Aleksandr Stefurishin <[email protected]>
Signed-off-by: Aleksandr Stefurishin <[email protected]>
Signed-off-by: Aleksandr Stefurishin <[email protected]>
Signed-off-by: Aleksandr Stefurishin <[email protected]>
Signed-off-by: Aleksandr Stefurishin <[email protected]>
Signed-off-by: Aleksandr Stefurishin <[email protected]>
Signed-off-by: Aleksandr Stefurishin <[email protected]>
Signed-off-by: Aleksandr Stefurishin <[email protected]>
Signed-off-by: Aleksandr Stefurishin <[email protected]>
Signed-off-by: Aleksandr Stefurishin <[email protected]>
Signed-off-by: Aleksandr Stefurishin <[email protected]>
Signed-off-by: Aleksandr Stefurishin <[email protected]>
@astef astef force-pushed the astef-cert-hook branch from 209db6c to 0a19fd7 Compare March 26, 2025 13:27
astef added 5 commits March 26, 2025 16:27
Signed-off-by: Aleksandr Stefurishin <[email protected]>
Signed-off-by: Aleksandr Stefurishin <[email protected]>
Signed-off-by: Aleksandr Stefurishin <[email protected]>
Signed-off-by: Aleksandr Stefurishin <[email protected]>
@astef astef changed the title [internal] Renewal of expiring certs [internal] Renewal of expiring certs; go hook migration; cert alerts Apr 1, 2025
astef added 3 commits April 2, 2025 11:04
Signed-off-by: Aleksandr Stefurishin <[email protected]>
Signed-off-by: Aleksandr Stefurishin <[email protected]>
Signed-off-by: Aleksandr Stefurishin <[email protected]>
@astef astef marked this pull request as ready for review April 3, 2025 07:48
@astef astef requested a review from duckhawk April 3, 2025 07:48
Signed-off-by: Aleksandr Stefurishin <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants