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

Raise Event on Certificate Invalidity #2

Open
arielsepton opened this issue May 27, 2024 · 0 comments
Open

Raise Event on Certificate Invalidity #2

arielsepton opened this issue May 27, 2024 · 0 comments
Labels
good first issue Good for newcomers

Comments

@arielsepton
Copy link
Contributor

Description:

Currently, the certificate-operator manages the lifecycle of certificates, but it does not raise events when a certificate becomes invalid. This information can be valuable for end-users to track the status of certificates and take appropriate actions.

Tasks:

  • Implement logic to raise an event when a certificate is detected as invalid.
  • Define Event Metadata:
    • Define the metadata for the event, including the type, reason, and message, to accurately convey the invalidity of the certificate.
  • Test and Verify:
    • Write unit tests to ensure that the event is raised correctly when a certificate is invalid.

Expected Outcome:

The certificate-operator should raise an event with appropriate metadata whenever a certificate is marked as invalid.
Users should be able to view the events using kubectl get events and gain insights into the status of certificates managed by the operator.

@arielsepton arielsepton added the good first issue Good for newcomers label May 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant