Skip to content

Commit

Permalink
Verify spelling fixes pass check-spelling
Browse files Browse the repository at this point in the history
  • Loading branch information
jsoref authored May 4, 2022
2 parents 5503c5e + 9e29f3e commit 1af0f5c
Show file tree
Hide file tree
Showing 37 changed files with 78 additions and 78 deletions.
34 changes: 17 additions & 17 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,103 +2,103 @@

### 2.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)
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)

A curated list of changes can be found on the [Releases](http://docs.nginx.com/nginx-ingress-controller/releases/) page on the NGINX Documentation website.

### 2.1.2

An automatically generated list of changes can be found on Github at: [2.1.2 Release](https://github.com/nginxinc/kubernetes-ingress/releases/tag/v2.1.2)
An automatically generated list of changes can be found on GitHub at: [2.1.2 Release](https://github.com/nginxinc/kubernetes-ingress/releases/tag/v2.1.2)

A curated list of changes can be found in the [Releases](http://docs.nginx.com/nginx-ingress-controller/releases/) page on NGINX Documentation website.

### 1.12.4

An automatically generated list of changes can be found on Github at: [1.12.4 Release](https://github.com/nginxinc/kubernetes-ingress/releases/tag/v1.12.4)
An automatically generated list of changes can be found on GitHub at: [1.12.4 Release](https://github.com/nginxinc/kubernetes-ingress/releases/tag/v1.12.4)

A curated list of changes can be found in the [Releases](http://docs.nginx.com/nginx-ingress-controller/releases/) page on NGINX Documentation website.

### 2.1.1

An automatically generated list of changes can be found on Github at: [2.1.1 Release](https://github.com/nginxinc/kubernetes-ingress/releases/tag/v2.1.1)
An automatically generated list of changes can be found on GitHub at: [2.1.1 Release](https://github.com/nginxinc/kubernetes-ingress/releases/tag/v2.1.1)

A curated list of changes can be found in the [Releases](http://docs.nginx.com/nginx-ingress-controller/releases/) page on NGINX Documentation website.

### 2.1.0

An automatically generated list of changes can be found on Github at: [2.1.0 Release](https://github.com/nginxinc/kubernetes-ingress/releases/tag/v2.1.0)
An automatically generated list of changes can be found on GitHub at: [2.1.0 Release](https://github.com/nginxinc/kubernetes-ingress/releases/tag/v2.1.0)

A curated list of changes can be found in the [Releases](http://docs.nginx.com/nginx-ingress-controller/releases/) page on NGINX Documentation website.

### 2.0.3

An automatically generated list of changes can be found on Github at: [2.0.3 Release](https://github.com/nginxinc/kubernetes-ingress/releases/tag/v2.0.3)
An automatically generated list of changes can be found on GitHub at: [2.0.3 Release](https://github.com/nginxinc/kubernetes-ingress/releases/tag/v2.0.3)

A curated list of changes can be found in the [Releases](http://docs.nginx.com/nginx-ingress-controller/releases/) page on NGINX Documentation website.

### 1.12.3

An automatically generated list of changes can be found on Github at: [1.12.3 Release](https://github.com/nginxinc/kubernetes-ingress/releases/tag/v1.12.3)
An automatically generated list of changes can be found on GitHub at: [1.12.3 Release](https://github.com/nginxinc/kubernetes-ingress/releases/tag/v1.12.3)

A curated list of changes can be found in the [Releases](http://docs.nginx.com/nginx-ingress-controller/releases/) page on NGINX Documentation website.

### 2.0.2

An automatically generated list of changes can be found on Github at: [2.0.2 Release](https://github.com/nginxinc/kubernetes-ingress/releases/tag/v2.0.2)
An automatically generated list of changes can be found on GitHub at: [2.0.2 Release](https://github.com/nginxinc/kubernetes-ingress/releases/tag/v2.0.2)

A curated list of changes can be found in the [Releases](http://docs.nginx.com/nginx-ingress-controller/releases/) page on NGINX Documentation website.

### 2.0.1

An automatically generated list of changes can be found on Github at: [2.0.1 Release](https://github.com/nginxinc/kubernetes-ingress/releases/tag/v2.0.1)
An automatically generated list of changes can be found on GitHub at: [2.0.1 Release](https://github.com/nginxinc/kubernetes-ingress/releases/tag/v2.0.1)

A curated list of changes can be found in the [Releases](http://docs.nginx.com/nginx-ingress-controller/releases/) page on NGINX Documentation website.

### 1.12.2

An automatically generated list of changes can be found on Github at: [1.12.2 Release](https://github.com/nginxinc/kubernetes-ingress/releases/tag/v1.12.2)
An automatically generated list of changes can be found on GitHub at: [1.12.2 Release](https://github.com/nginxinc/kubernetes-ingress/releases/tag/v1.12.2)

A curated list of changes can be found in the [Releases](http://docs.nginx.com/nginx-ingress-controller/releases/) page on NGINX Documentation website.

### 2.0.0

An automatically generated list of changes can be found on Github at: [2.0.0 Release](https://github.com/nginxinc/kubernetes-ingress/releases/tag/v2.0.0)
An automatically generated list of changes can be found on GitHub at: [2.0.0 Release](https://github.com/nginxinc/kubernetes-ingress/releases/tag/v2.0.0)

A curated list of changes can be found in the [Releases](http://docs.nginx.com/nginx-ingress-controller/releases/) page on NGINX Documentation website.

### 1.12.1

An automatically generated list of changes can be found on Github at: [1.12.1 Release](https://github.com/nginxinc/kubernetes-ingress/releases/tag/v1.12.1)
An automatically generated list of changes can be found on GitHub at: [1.12.1 Release](https://github.com/nginxinc/kubernetes-ingress/releases/tag/v1.12.1)

A curated list of changes can be found in the [Releases](http://docs.nginx.com/nginx-ingress-controller/releases/) page on NGINX Documentation website.

### 1.12.0

An automatically generated list of changes can be found on Github at: [1.12.0 Release](https://github.com/nginxinc/kubernetes-ingress/releases/tag/v1.12.0)
An automatically generated list of changes can be found on GitHub at: [1.12.0 Release](https://github.com/nginxinc/kubernetes-ingress/releases/tag/v1.12.0)

A curated list of changes can be found in the [Releases](http://docs.nginx.com/nginx-ingress-controller/releases/) page on NGINX Documentation website.

### 1.11.3

An automatically generated list of changes can be found on Github at: [1.11.3 Release](https://github.com/nginxinc/kubernetes-ingress/releases/tag/v1.11.3)
An automatically generated list of changes can be found on GitHub at: [1.11.3 Release](https://github.com/nginxinc/kubernetes-ingress/releases/tag/v1.11.3)

A curated list of changes can be found in the [Releases](http://docs.nginx.com/nginx-ingress-controller/releases/) page on NGINX Documentation website.

### 1.11.2

An automatically generated list of changes can be found on Github at: [1.11.2 Release](https://github.com/nginxinc/kubernetes-ingress/releases/tag/v1.11.2)
An automatically generated list of changes can be found on GitHub at: [1.11.2 Release](https://github.com/nginxinc/kubernetes-ingress/releases/tag/v1.11.2)

A curated list of changes can be found in the [Releases](http://docs.nginx.com/nginx-ingress-controller/releases/) page on NGINX Documentation website.

### 1.11.1

An automatically generated list of changes can be found on Github at: [1.11.1 Release](https://github.com/nginxinc/kubernetes-ingress/releases/tag/v1.11.1)
An automatically generated list of changes can be found on GitHub at: [1.11.1 Release](https://github.com/nginxinc/kubernetes-ingress/releases/tag/v1.11.1)

A curated list of changes can be found in the [Releases](http://docs.nginx.com/nginx-ingress-controller/releases/) page on NGINX Documentation website.

### 1.11.0

An automatically generated list of changes can be found on Github at: [1.11.0 Release](https://github.com/nginxinc/kubernetes-ingress/releases/tag/v1.11.0)
An automatically generated list of changes can be found on GitHub at: [1.11.0 Release](https://github.com/nginxinc/kubernetes-ingress/releases/tag/v1.11.0)

A curated list of changes can be found in the [Releases](http://docs.nginx.com/nginx-ingress-controller/releases/) page on NGINX Documentation website.

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ The table below summarizes the options regarding the images, manifests, helm cha

## Contacts

We’d like to hear your feedback! If you have any suggestions or experience issues with our Ingress Controller, please create an issue or send a pull request on Github.
We’d like to hear your feedback! If you have any suggestions or experience issues with our Ingress Controller, please create an issue or send a pull request on GitHub.
You can contact us directly via [[email protected]](mailto:[email protected]) or on the [NGINX Community Slack](https://nginxcommunity.slack.com/channels/nginx-ingress-controller).

## Contributing
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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.
type: object
properties:
apDosMonitor:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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.
type: object
properties:
apDosMonitor:
Expand Down
2 changes: 1 addition & 1 deletion docs/content/app-protect-dos/configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ You would create an `APDosPolicy` resource with the policy defined in the `spec`
tls_fingerprint: "on"
```

Then add a reference in the `DosProtectedResrouce` to the `ApDosPolicy`:
Then add a reference in the `DosProtectedResource` to the `ApDosPolicy`:
```yaml
apiVersion: appprotectdos.f5.com/v1beta1
kind: DosProtectedResource
Expand Down
2 changes: 1 addition & 1 deletion docs/content/configuration/policy-resource.md
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ rateLimit:
|``delay`` | The delay parameter specifies a limit at which excessive requests become delayed. If not set all excessive requests are delayed. | ``int`` | No |
|``noDelay`` | Disables the delaying of excessive requests while requests are being limited. Overrides ``delay`` if both are set. | ``bool`` | No |
|``burst`` | Excessive requests are delayed until their number exceeds the ``burst`` size, in which case the request is terminated with an error. | ``int`` | No |
|``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 |
|``logLevel`` | Sets the desired logging level for cases when the server refuses to process requests due to rate exceeding, or delays request processing. Allowed values are ``info``, ``notice``, ``warn`` or ``error``. Default is ``error``. | ``string`` | No |
|``rejectCode`` | Sets the status code to return in response to rejected requests. Must fall into the range ``400..599``. Default is ``503``. | ``string`` | No |
{{% /table %}}
Expand Down
2 changes: 1 addition & 1 deletion examples/custom-resources/egress-mtls/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ Create the application deployment, service and secret:
$ kubectl apply -f secure-app.yaml
```
## Step 2 - Deploy the Egress MLTS Secret
## Step 2 - Deploy the Egress MTLS Secret
Create a secret with the name `egress-mtls-secret` that will be used for authentication to application:
```
Expand Down
2 changes: 1 addition & 1 deletion examples/custom-resources/grpc-upstreams/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ metadata:
spec:
host: grpc.example.com
tls:
secret: gprc-secret
secret: grpc-secret
upstreams:
- name: grpc1
service: grpc-svc
Expand Down
2 changes: 1 addition & 1 deletion examples/custom-resources/ingress-mtls/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ Create the application deployment and service:
$ kubectl apply -f webapp.yaml
```
## Step 2 - Deploy the Ingress MLTS Secret
## Step 2 - Deploy the Ingress MTLS Secret
Create a secret with the name `ingress-mtls-secret` that will be used for Ingress MTLS validation:
```
Expand Down
2 changes: 1 addition & 1 deletion examples/wildcard-tls-certificate/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ The wildcard TLS certificate simplifies the configuration of TLS termination if
Start the Ingress Controller with the `-wildcard-tls-secret` [command-line argument](https://docs.nginx.com/nginx-ingress-controller/configuration/global-configuration/command-line-arguments/#cmdoption-wildcard-tls-secret) set to a TLS secret with a wildcard cert/key. For example:

```yaml
-wildcard-tls-secret=nginx-ingress/wildlcard-tls-secret
-wildcard-tls-secret=nginx-ingress/wildcard-tls-secret
```

**Note**: the Ingress Controller supports only one wildcard TLS secret.
Expand Down
2 changes: 1 addition & 1 deletion hack/repo-changelog-template.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@

%%TITLE%%

An automatically generated list of changes can be found on Github at: [%%IC_VERSION%% Release](https://github.com/nginxinc/kubernetes-ingress/releases/tag/v%%IC_VERSION%%)
An automatically generated list of changes can be found on GitHub at: [%%IC_VERSION%% Release](https://github.com/nginxinc/kubernetes-ingress/releases/tag/v%%IC_VERSION%%)

A curated list of changes can be found on the [Releases](http://docs.nginx.com/nginx-ingress-controller/releases/) page on the NGINX Documentation website.
2 changes: 1 addition & 1 deletion internal/configs/annotations.go
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,7 @@ func parseAnnotations(ingEx *IngressEx, baseCfgParams *ConfigParams, isPlus bool
}

if parsingErrors {
glog.Errorf("Ingress %s/%s: There are configuration issues with hsts annotations, skipping annotions for all hsts settings", ingEx.Ingress.GetNamespace(), ingEx.Ingress.GetName())
glog.Errorf("Ingress %s/%s: There are configuration issues with hsts annotations, skipping annotations for all hsts settings", ingEx.Ingress.GetNamespace(), ingEx.Ingress.GetName())
} else {
cfgParams.HSTS = hsts
if existsMA {
Expand Down
12 changes: 6 additions & 6 deletions internal/configs/configurator_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -105,17 +105,17 @@ func TestAddOrUpdateMergeableIngress(t *testing.T) {
t.Errorf("Failed to create a test configurator: %v", err)
}

mergeableIngess := createMergeableCafeIngress()
mergeableIngress := createMergeableCafeIngress()

warnings, err := cnf.AddOrUpdateMergeableIngress(mergeableIngess)
warnings, err := cnf.AddOrUpdateMergeableIngress(mergeableIngress)
if err != nil {
t.Errorf("AddOrUpdateMergeableIngress returned \n%v, expected \n%v", err, nil)
}
if len(warnings) != 0 {
t.Errorf("AddOrUpdateMergeableIngress returned warnings: %v", warnings)
}

cnfHasMergeableIngress := cnf.HasIngress(mergeableIngess.Master.Ingress)
cnfHasMergeableIngress := cnf.HasIngress(mergeableIngress.Master.Ingress)
if !cnfHasMergeableIngress {
t.Errorf("AddOrUpdateMergeableIngress didn't add mergeable ingress successfully. HasIngress returned %v, expected %v", cnfHasMergeableIngress, true)
}
Expand Down Expand Up @@ -146,9 +146,9 @@ func TestAddOrUpdateMergeableIngressFailsWithInvalidIngressTemplate(t *testing.T
t.Errorf("Failed to create a test configurator: %v", err)
}

mergeableIngess := createMergeableCafeIngress()
mergeableIngress := createMergeableCafeIngress()

warnings, err := cnf.AddOrUpdateMergeableIngress(mergeableIngess)
warnings, err := cnf.AddOrUpdateMergeableIngress(mergeableIngress)
if err == nil {
t.Errorf("AddOrUpdateMergeableIngress returned \n%v, but expected \n%v", nil, "template execution error")
}
Expand Down Expand Up @@ -345,7 +345,7 @@ func TestAddInternalRouteConfig(t *testing.T) {
}

if !cnf.staticCfgParams.EnableInternalRoutes {
t.Errorf("AddInternalRouteConfig failed to set EnableInteralRoutes field of staticCfgParams to true")
t.Errorf("AddInternalRouteConfig failed to set EnableInternalRoutes field of staticCfgParams to true")
}
if cnf.staticCfgParams.PodName != "nginx-ingress" {
t.Errorf("AddInternalRouteConfig failed to set PodName field of staticCfgParams")
Expand Down
4 changes: 2 additions & 2 deletions internal/configs/ingress_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -416,7 +416,7 @@ func TestGenerateNginxCfgForMergeableIngressesForJWT(t *testing.T) {
mergeableIngresses.Minions[0].Ingress.Annotations["nginx.com/jwt-key"] = "coffee-jwk"
mergeableIngresses.Minions[0].Ingress.Annotations["nginx.com/jwt-realm"] = "Coffee"
mergeableIngresses.Minions[0].Ingress.Annotations["nginx.com/jwt-token"] = "$cookie_auth_token_coffee"
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"
mergeableIngresses.Minions[0].SecretRefs["coffee-jwk"] = &secrets.SecretReference{
Secret: &v1.Secret{
Type: secrets.SecretTypeJWK,
Expand Down Expand Up @@ -446,7 +446,7 @@ func TestGenerateNginxCfgForMergeableIngressesForJWT(t *testing.T) {
},
{
Name: "@login_url_default-cafe-ingress-coffee-minion",
LoginURL: "https://login.cofee.example.com",
LoginURL: "https://login.coffee.example.com",
},
}

Expand Down
2 changes: 1 addition & 1 deletion internal/configs/oidc/oidc.conf
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@

# location /api/ {
# api write=on;
# 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
# deny all;
# access_log off;
# }
Expand Down
2 changes: 1 addition & 1 deletion internal/configs/transportserver_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -319,7 +319,7 @@ func TestGenerateTransportServerConfigForTCPMaxConnections(t *testing.T) {
}
}

func TestGenerateTransportServerConfigForTLSPasstrhough(t *testing.T) {
func TestGenerateTransportServerConfigForTLSPassthrough(t *testing.T) {
t.Parallel()
transportServerEx := TransportServerEx{
TransportServer: &conf_v1alpha1.TransportServer{
Expand Down
2 changes: 1 addition & 1 deletion internal/configs/version1/templates_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ var ingCfg = IngressNginxConfig{
Key: "/etc/nginx/secrets/key.jwk",
Realm: "closed site",
Token: "$cookie_auth_token",
RedirectLocationName: "@login_url-default-cafe-ingres",
RedirectLocationName: "@login_url-default-cafe-ingress",
},
SSL: true,
SSLCertificate: "secret.pem",
Expand Down
8 changes: 4 additions & 4 deletions internal/configs/virtualserver.go
Original file line number Diff line number Diff line change
Expand Up @@ -1027,8 +1027,8 @@ func (p *policiesCfg) addWAFConfig(

if waf.ApPolicy != "" {
apPolKey := waf.ApPolicy
hasNamepace := strings.Contains(apPolKey, "/")
if !hasNamepace {
hasNamespace := strings.Contains(apPolKey, "/")
if !hasNamespace {
apPolKey = fmt.Sprintf("%v/%v", polNamespace, apPolKey)
}

Expand All @@ -1045,8 +1045,8 @@ func (p *policiesCfg) addWAFConfig(
p.WAF.ApSecurityLogEnable = true

logConfKey := waf.SecurityLog.ApLogConf
hasNamepace := strings.Contains(logConfKey, "/")
if !hasNamepace {
hasNamespace := strings.Contains(logConfKey, "/")
if !hasNamespace {
logConfKey = fmt.Sprintf("%v/%v", polNamespace, logConfKey)
}

Expand Down
4 changes: 2 additions & 2 deletions internal/configs/virtualserver_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"},
},
msg: "secret doesn't exist in the cluster with HTTPS",
},
Expand All @@ -4949,7 +4949,7 @@ func TestGenerateSSLConfig(t *testing.T) {
RejectHandshake: true,
},
expectedWarnings: Warnings{
nil: []string{"TLS secret secret is of a wrong type 'nginx.org/ca', must be 'kubernetes.io/tls'"},
nil: []string{"TLS secret is of a wrong type 'nginx.org/ca', must be 'kubernetes.io/tls'"},
},
msg: "wrong secret type",
},
Expand Down
2 changes: 1 addition & 1 deletion internal/k8s/appprotect/app_protect_configuration_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -1162,7 +1162,7 @@ func TestGetAppProtectResource(t *testing.T) {
key: "testing/test3",
wantErr: true,
errMsg: "Unknown App Protect resource kind Notreal",
msg: "Ivalid kind, Negative",
msg: "Invalid kind, Negative",
},
}
appProtectConfiguration := newConfigurationImpl()
Expand Down
4 changes: 2 additions & 2 deletions internal/k8s/configuration_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3320,7 +3320,7 @@ func TestGetTransportServerMetrics(t *testing.T) {
TotalTCP: 1,
TotalUDP: 1,
},
msg: "TLSPasstrough, TCP and UDP TransportServers",
msg: "TLSPassthrough, TCP and UDP TransportServers",
},
}

Expand Down Expand Up @@ -3357,7 +3357,7 @@ func TestGetTransportServerMetrics(t *testing.T) {
}
}

func TestIsEqualForIngressConfigurationes(t *testing.T) {
func TestIsEqualForIngressConfigurations(t *testing.T) {
regularIng := createTestIngress("regular-ingress", "foo.example.com")

ingConfigWithInvalidHost := NewRegularIngressConfiguration(regularIng)
Expand Down
Loading

0 comments on commit 1af0f5c

Please sign in to comment.