-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Correct spelling mistakes #2645
Conversation
Signed-off-by: Josh Soref <[email protected]>
Signed-off-by: Josh Soref <[email protected]>
Signed-off-by: Josh Soref <[email protected]>
Signed-off-by: Josh Soref <[email protected]>
Signed-off-by: Josh Soref <[email protected]>
Signed-off-by: Josh Soref <[email protected]>
Signed-off-by: Josh Soref <[email protected]>
Signed-off-by: Josh Soref <[email protected]>
Signed-off-by: Josh Soref <[email protected]>
Signed-off-by: Josh Soref <[email protected]>
Signed-off-by: Josh Soref <[email protected]>
Signed-off-by: Josh Soref <[email protected]>
Signed-off-by: Josh Soref <[email protected]>
Signed-off-by: Josh Soref <[email protected]>
Signed-off-by: Josh Soref <[email protected]>
Signed-off-by: Josh Soref <[email protected]>
Signed-off-by: Josh Soref <[email protected]>
Signed-off-by: Josh Soref <[email protected]>
Signed-off-by: Josh Soref <[email protected]>
Signed-off-by: Josh Soref <[email protected]>
Signed-off-by: Josh Soref <[email protected]>
Signed-off-by: Josh Soref <[email protected]>
Signed-off-by: Josh Soref <[email protected]>
Signed-off-by: Josh Soref <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Most corrections were automatically suggested by Google Sheets.
All fault is mine.
An automatically generated list of changes can be found on Github at: [2.2.0 Release](https://github.com/nginxinc/kubernetes-ingress/releases/tag/v2.2.0) | ||
An automatically generated list of changes can be found on GitHub at: [2.2.0 Release](https://github.com/nginxinc/kubernetes-ingress/releases/tag/v2.2.0) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Brand.
Some projects don't like changing changelogs. I can drop files if requested.
|``dryRun`` | Enables the dry run mode. In this mode, the rate limit is not actually applied, but the the number of excessive requests is accounted as usual in the shared memory zone. | ``bool`` | No | | ||
|``dryRun`` | Enables the dry run mode. In this mode, the rate limit is not actually applied, but the number of excessive requests is accounted as usual in the shared memory zone. | ``bool`` | No | |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Doubled words are a new area for me. I'm still not terribly confident about them.
I understand that things like this probably will require a chart release. I'll cross that bridge at the end.
## Step 2 - Deploy the Egress MLTS Secret | ||
## Step 2 - Deploy the Egress MTLS Secret |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
!!
secret: gprc-secret | ||
secret: grpc-secret |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
?!
mergeableIngresses.Minions[0].Ingress.Annotations["nginx.com/jwt-login-url"] = "https://login.cofee.example.com" | ||
mergeableIngresses.Minions[0].Ingress.Annotations["nginx.com/jwt-login-url"] = "https://login.coffee.example.com" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm assuming there aren't any hashes that care about this change.
# allow 127.0.0.1; # Only the NGINX host may call the NIGNX Plus API | ||
# allow 127.0.0.1; # Only the NGINX host may call the NGINX Plus API |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Brand
ingredsssMTLS: # invalid/mis-spelled yaml keys | ||
clientCertSecrettt: ingress-mtls-secret | ||
ingress_MTLS: # invalid/mis-spelled yaml keys | ||
clientCertSecret_: ingress-mtls-secret |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I understand you're trying to misspell things, but there are ways to generate invalid content that doesn't result in spell checkers screaming. As you can see, there are plenty of misspelled items, some of which are user facing. I argue it's better to avoid misspelling words when possible, and using a _
should work for that purpose. (If not _
, then adding another word or swapping the order of words or substituting a word...)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@jsoref the changes in the strings in the tests are making them fail
@@ -31,7 +31,7 @@ spec: | |||
metadata: | |||
type: object | |||
spec: | |||
description: DosProtectedResourceSpec deines the properties and values a DosProtectedResource can have. | |||
description: DosProtectedResourceSpec defines the properties and values a DosProtectedResource can have. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the CRD are automatically generated, so we need to change the source
pinging @rafwegv
@@ -4927,7 +4927,7 @@ func TestGenerateSSLConfig(t *testing.T) { | |||
RejectHandshake: true, | |||
}, | |||
expectedWarnings: Warnings{ | |||
nil: []string{"TLS secret secret is invalid: secret doesn't exist"}, | |||
nil: []string{"TLS secret is invalid: secret doesn't exist"}, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Changing this (and the following one) will make the test fail. The second secret
here is just the name specified on line 4916
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The templated thing should wrap the evaluated thing with backticks to make it easier for a human to parse
Signed-off-by: Josh Soref <[email protected]>
Signed-off-by: Josh Soref <[email protected]>
Signed-off-by: Josh Soref <[email protected]>
Signed-off-by: Josh Soref <[email protected]>
Signed-off-by: Josh Soref <[email protected]>
Signed-off-by: Josh Soref <[email protected]>
Codecov Report
@@ Coverage Diff @@
## main #2645 +/- ##
==========================================
+ Coverage 53.39% 53.42% +0.02%
==========================================
Files 52 52
Lines 14706 14706
==========================================
+ Hits 7853 7857 +4
+ Misses 6591 6589 -2
+ Partials 262 260 -2
📣 Codecov can now indicate which changes are the most critical in Pull Requests. Learn more |
Proposed changes
Describe the use case and detail of the change. If this PR addresses an issue on GitHub, make sure to include a link to that issue here in this description (not in the title of the PR).
This PR corrects misspellings identified by the check-spelling action.
The misspellings have been reported at jsoref@5503c5e#commitcomment-72824593
The action reports that the changes in this PR would make it happy: jsoref@1af0f5c
Note: this PR does not include the action. If you're interested in running a spell check on every PR and push, that can be offered separately.
Checklist
Before creating a PR, run through this checklist and mark each as complete.