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

Add validations for managed nodegroup labels #6947

Conversation

TiberiuGC
Copy link
Collaborator

Description

Setting labels with the following prefixes [kubernetes.io/, k8s.io/] causes both managed and unmanaged nodes to fail joining clusters. For unmanaged nodegroups, validations are already in place. This PR adds the same validations for EKS managed nodegroups. Refer to this comment for more context.

Checklist

  • Added tests that cover your change (if possible)
  • Added/modified documentation as required (such as the README.md, or the userdocs directory)
  • Manually tested
  • Made sure the title of the PR is a good description that can go into the release notes
  • (Core team) Added labels for change area (e.g. area/nodegroup) and kind (e.g. kind/improvement)

BONUS POINTS checklist: complete for good vibes and maybe prizes?! 🤯

  • Backfilled missing tests for code in same general area 🎉
  • Refactored something and made the world a better place 🌟

@TiberiuGC TiberiuGC requested review from Himangini and cPu1 August 16, 2023 07:35
@TiberiuGC TiberiuGC enabled auto-merge (squash) August 22, 2023 13:25
@TiberiuGC TiberiuGC merged commit 240a760 into eksctl-io:main Aug 22, 2023
TiberiuGC added a commit to TiberiuGC/eksctl that referenced this pull request Aug 24, 2023
* Add validations for managed nodegroup labels

* fix typo
IdanShohamNetApp pushed a commit to spotinst/weaveworks-eksctl that referenced this pull request Oct 19, 2023
* Add validations for managed nodegroup labels

* fix typo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants