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

fix: Ensure a consistent ordering for all NodeTemplate status fields #4627

Merged
merged 1 commit into from
Sep 14, 2023

Conversation

jonathan-innis
Copy link
Contributor

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

Fixes #N/A

Description

This PR ensures that all pieces of the NodeTemplate output are sorted so that it always has a consistent output and doesn't perform additional Patch operations. Previously, it was possible that the SecurityGroup ordering or the AMI requirements ordering could change because they were stored in a map.

How was this change tested?

make presubmit
/karpenter snapshot

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.

@netlify
Copy link

netlify bot commented Sep 14, 2023

Deploy Preview for karpenter-docs-prod canceled.

Name Link
🔨 Latest commit 9891ef5
🔍 Latest deploy log https://app.netlify.com/sites/karpenter-docs-prod/deploys/650327135084f70008013d6c

Copy link
Contributor Author

@jonathan-innis jonathan-innis left a comment

Choose a reason for hiding this comment

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

/karpenter snapshot

@jonathan-innis jonathan-innis enabled auto-merge (squash) September 14, 2023 08:14
@github-actions
Copy link
Contributor

Snapshot successfully published to oci://public.ecr.aws/karpenter/karpenter:v0-94f72131453cb0d49d0ad101e462e35c43e97106. Find the image tag and installation instructions at https://gallery.ecr.aws/karpenter/karpenter/

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 828e305 into aws:main Sep 14, 2023
12 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