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 an instance profile interface to instance profile provider #6034

Merged
merged 1 commit into from
Apr 12, 2024

Conversation

jonathan-innis
Copy link
Contributor

@jonathan-innis jonathan-innis commented Apr 12, 2024

Fixes #N/A

Description

This adds an interface for the NodeClass to be passed into the instance profile provider for testability

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 April 12, 2024 21:23
Copy link

netlify bot commented Apr 12, 2024

Deploy Preview for karpenter-docs-prod canceled.

Name Link
🔨 Latest commit 5aa6238
🔍 Latest deploy log https://app.netlify.com/sites/karpenter-docs-prod/deploys/6619b1c6175fa30008055fb2

@coveralls
Copy link

coveralls commented Apr 12, 2024

Pull Request Test Coverage Report for Build 8668548161

Details

  • 25 of 27 (92.59%) changed or added relevant lines in 4 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage increased (+0.03%) to 82.292%

Changes Missing Coverage Covered Lines Changed/Added Lines %
pkg/operator/operator.go 0 1 0.0%
pkg/providers/instanceprofile/instanceprofile.go 11 12 91.67%
Totals Coverage Status
Change from base Build 8667656323: 0.03%
Covered Lines: 5335
Relevant Lines: 6483

💛 - Coveralls

@jonathan-innis jonathan-innis enabled auto-merge (squash) April 12, 2024 21:53
@jonathan-innis jonathan-innis force-pushed the instance-profile-interface branch from d9ec223 to 4c1aee0 Compare April 12, 2024 22:07
engedaam
engedaam previously approved these changes Apr 12, 2024
Copy link
Contributor

@engedaam engedaam left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 🚀

Copy link
Contributor

@engedaam engedaam left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 🚀

@jonathan-innis jonathan-innis merged commit 13cd913 into aws:main Apr 12, 2024
17 checks passed
@jonathan-innis jonathan-innis deleted the instance-profile-interface branch April 12, 2024 22:19
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.

3 participants