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: Fix escaping regex special characters #3840

Merged
merged 1 commit into from May 1, 2023

Conversation

jonathan-innis
Copy link
Contributor

Fixes #

Description

The PR that validates the tags on the v1alpha1.AWSNodeTemplate (#3784) contains checking against tags based on regex. This regex needs all the special characters escaped. The current state will match more tags than it should.

How was this change tested?

  • FOCUS=Webhooks make e2etests
  • make presubmit

Does this change impact docs?

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

Release Note


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 May 1, 2023 17:29
@netlify
Copy link

netlify bot commented May 1, 2023

Deploy Preview for karpenter-docs-prod canceled.

Name Link
🔨 Latest commit 6216a8f
🔍 Latest deploy log https://app.netlify.com/sites/karpenter-docs-prod/deploys/644ff75deec19d00082c4e07

Copy link
Contributor

@tzneal tzneal 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 a3ac553 into aws:main May 1, 2023
11 checks passed
@jonathan-innis jonathan-innis deleted the fix-regex-checking branch May 1, 2023 19:59
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