Skip to content

✨Add event constants for certificate-related automatic actions#13337

Open
VijetaPriya47 wants to merge 1 commit intokubernetes-sigs:mainfrom
VijetaPriya47:feature/add-event-constants
Open

✨Add event constants for certificate-related automatic actions#13337
VijetaPriya47 wants to merge 1 commit intokubernetes-sigs:mainfrom
VijetaPriya47:feature/add-event-constants

Conversation

@VijetaPriya47
Copy link
Contributor

This commit adds event constant definitions that will be used to emit events for automatic certificate-related actions in KubeadmControlPlane:

  • EventKubeconfigCertificateRotated: Emitted when kubeconfig certificate is automatically rotated due to approaching expiry
  • EventKubeconfigCertificateRotationFailed: Emitted when kubeconfig certificate rotation fails
  • EventCertificateExpiryTriggeredRollout: Emitted when a machine is marked for rollout due to certificate expiry approaching the threshold

These constants provide a foundation for improved observability and monitoring of automatic certificate management operations.
In reference with #13242
and Issue #12930

@k8s-ci-robot k8s-ci-robot added cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. do-not-merge/needs-area PR is missing an area label labels Feb 13, 2026
@k8s-ci-robot
Copy link
Contributor

This PR is currently missing an area label, which is used to identify the modified component when generating release notes.

Area labels can be added by org members by writing /area ${COMPONENT} in a comment

Please see the labels list for possible areas.

Details

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.

@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by:
Once this PR has been reviewed and has the lgtm label, please assign justinsb for approval. For more information see the Code Review Process.

The full list of commands accepted by this bot can be found here.

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@k8s-ci-robot k8s-ci-robot added size/S Denotes a PR that changes 10-29 lines, ignoring generated files. needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. labels Feb 13, 2026
@k8s-ci-robot
Copy link
Contributor

Hi @VijetaPriya47. Thanks for your PR.

I'm waiting for a kubernetes-sigs member to verify that this patch is reasonable to test. If it is, they should reply with /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work. Regular contributors should join the org to skip this step.

Once the patch is verified, the new status will be reflected by the ok-to-test label.

I understand the commands that are listed here.

Details

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.

@VijetaPriya47
Copy link
Contributor Author

@sivchari could you review this.

This commit adds event constant definitions that will be used to emit
events for automatic certificate-related actions in KubeadmControlPlane:

- EventKubeconfigCertificateRotated: Emitted when kubeconfig certificate
  is automatically rotated due to approaching expiry
- EventKubeconfigCertificateRotationFailed: Emitted when kubeconfig
  certificate rotation fails
- EventCertificateExpiryTriggeredRollout: Emitted when a machine is marked
  for rollout due to certificate expiry approaching the threshold

These constants provide a foundation for improved observability and
monitoring of automatic certificate management operations.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. do-not-merge/needs-area PR is missing an area label needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. size/S Denotes a PR that changes 10-29 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants