eks-anywhere icon indicating copy to clipboard operation
eks-anywhere copied to clipboard

Ubuntu/Rhel Certificate Renewal Implementation (Part 2 of the certificate renewal command feature)

Open howard-junec opened this issue 6 months ago • 2 comments

Issue #, if available:

Description of changes:
 This PR implements certificate renewal functionality for Ubuntu and RHEL nodes in EKS Anywhere clusters. This is part 2 of the certificate renewal feature, focusing on Linux-based operating systems. Key features include:

  • Direct certificate management for Ubuntu and RHEL nodes
  • SSH-based secure certificate deployment system
  • Automatic certificate backup and validation
  • Support for control plane certificate renewal
  • Secure handling of SSH keys with optional passphrase protection
  • Automatic kubeconfig discovery based on cluster name from input YAML file
  • Extract new kubeconfig when local kubeconfig has expired
  • Configurable logging verbosity with -v flag to control output detail level
    • Default mode shows only essential information
    • Verbose mode (-v=2) displays detailed renewal process information

This PR builds on the configuration structure from part 1, implementing the renewal logic for traditional Linux distributions.

Testing (if applicable):

Documentation added/planned (if applicable):

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

howard-junec avatar Jun 03 '25 21:06 howard-junec

Hi @howard-junec. Thanks for your PR.

I'm waiting for a aws 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.

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/test-infra repository.

eks-distro-bot avatar Jun 03 '25 21:06 eks-distro-bot

Thanks for all the work! /lgtm

panktishah26 avatar Jul 01 '25 23:07 panktishah26

[APPROVALNOTIFIER] This PR is APPROVED

Approval requirements bypassed by manually added approval.

This pull-request has been approved by:

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

The pull request process is described here

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

eks-distro-bot avatar Jul 02 '25 17:07 eks-distro-bot

@panktishah26: new pull request created: #9957

In response to this:

/cherry-pick release-0.23

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/test-infra repository.

eks-distro-pr-bot avatar Jul 29 '25 18:07 eks-distro-pr-bot

/cherry-pick release-0.23

panktishah26 avatar Jul 29 '25 19:07 panktishah26

@panktishah26: new pull request created: #9959

In response to this:

/cherry-pick release-0.23

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/test-infra repository.

eks-distro-pr-bot avatar Jul 29 '25 19:07 eks-distro-pr-bot