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

chore: Add conversion from v1beta1/NodeClass to v1alpha1/AWSNodeTemplate #4541

Merged

Conversation

jonathan-innis
Copy link
Contributor

@jonathan-innis jonathan-innis commented Sep 1, 2023

Fixes #N/A

Description

Adds conversion from a v1beta1/NodeClass to a v1alpha5/AWSNodeTemplate for the controller and hash annotation handling. This allows the business logic for the controllers and the CloudProvider to only be written with the v1beta1 APIs in mind.

How was this change tested?

make presubmit

Does this change impact docs?

  • Yes, PR includes docs updates
  • Yes, issue opened: #
  • No

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@jonathan-innis jonathan-innis requested a review from a team as a code owner September 1, 2023 20:17
@netlify
Copy link

netlify bot commented Sep 1, 2023

Deploy Preview for karpenter-docs-prod canceled.

Name Link
🔨 Latest commit db061f0
🔍 Latest deploy log https://app.netlify.com/sites/karpenter-docs-prod/deploys/64f258b21fc5570008f24842

@jonathan-innis jonathan-innis changed the title chore: Add conversion from v1beta1/NodeClass to v1alpha5/AWSNodeTemplate` chore: Add conversion from v1beta1/NodeClass to v1alpha1/AWSNodeTemplate` Sep 1, 2023
@jonathan-innis jonathan-innis changed the title chore: Add conversion from v1beta1/NodeClass to v1alpha1/AWSNodeTemplate` chore: Add conversion from v1beta1/NodeClass to v1alpha1/AWSNodeTemplate Sep 1, 2023
@jonathan-innis jonathan-innis force-pushed the v1beta1-nodetemplate-conversion branch 6 times, most recently from aa169a2 to 0b1b59f Compare September 1, 2023 20:28
@jonathan-innis jonathan-innis enabled auto-merge (squash) September 1, 2023 20:41
pkg/test/expectations/expectations.go Show resolved Hide resolved
pkg/utils/nodeclass/nodeclass.go Show resolved Hide resolved
pkg/utils/nodeclass/nodeclass.go Show resolved Hide resolved
pkg/utils/nodeclass/nodeclass.go Show resolved Hide resolved
@jonathan-innis jonathan-innis merged commit 44750f2 into aws:main Sep 1, 2023
13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants