Skip to content

Commit d8f2a20

Browse files
authored
Spelling (#3400)
* spelling: adding Signed-off-by: Josh Soref <[email protected]> * spelling: anymore Signed-off-by: Josh Soref <[email protected]> * spelling: approach Signed-off-by: Josh Soref <[email protected]> * spelling: attached Signed-off-by: Josh Soref <[email protected]> * spelling: because Signed-off-by: Josh Soref <[email protected]> * spelling: cannot Signed-off-by: Josh Soref <[email protected]> * spelling: case-insensitive Signed-off-by: Josh Soref <[email protected]> * spelling: case-sensitive Signed-off-by: Josh Soref <[email protected]> * spelling: certificate Signed-off-by: Josh Soref <[email protected]> * spelling: certificates Signed-off-by: Josh Soref <[email protected]> * spelling: criteria Signed-off-by: Josh Soref <[email protected]> * spelling: deterministically Signed-off-by: Josh Soref <[email protected]> * spelling: discoverability Signed-off-by: Josh Soref <[email protected]> * spelling: docs Signed-off-by: Josh Soref <[email protected]> * spelling: encapsulated Signed-off-by: Josh Soref <[email protected]> * spelling: feature Signed-off-by: Josh Soref <[email protected]> * spelling: filesystem Signed-off-by: Josh Soref <[email protected]> * spelling: format Signed-off-by: Josh Soref <[email protected]> * spelling: frankbu Signed-off-by: Josh Soref <[email protected]> * spelling: github Signed-off-by: Josh Soref <[email protected]> * spelling: grpc Signed-off-by: Josh Soref <[email protected]> * spelling: grpcroute Signed-off-by: Josh Soref <[email protected]> * spelling: has Signed-off-by: Josh Soref <[email protected]> * spelling: have Signed-off-by: Josh Soref <[email protected]> * spelling: http-route Signed-off-by: Josh Soref <[email protected]> * spelling: httpproxy Signed-off-by: Josh Soref <[email protected]> * spelling: httpredirect Signed-off-by: Josh Soref <[email protected]> * spelling: https Signed-off-by: Josh Soref <[email protected]> * spelling: implementation Signed-off-by: Josh Soref <[email protected]> * spelling: improvements Signed-off-by: Josh Soref <[email protected]> * spelling: in Signed-off-by: Josh Soref <[email protected]> * spelling: infrastructure Signed-off-by: Josh Soref <[email protected]> * spelling: into Signed-off-by: Josh Soref <[email protected]> * spelling: intuitive Signed-off-by: Josh Soref <[email protected]> * spelling: its Signed-off-by: Josh Soref <[email protected]> * spelling: linked Signed-off-by: Josh Soref <[email protected]> * spelling: maintainers Signed-off-by: Josh Soref <[email protected]> * spelling: maintenance Signed-off-by: Josh Soref <[email protected]> * spelling: maximum Signed-off-by: Josh Soref <[email protected]> * spelling: negotiated Signed-off-by: Josh Soref <[email protected]> * spelling: networking Signed-off-by: Josh Soref <[email protected]> * spelling: nonexistent Signed-off-by: Josh Soref <[email protected]> * spelling: or Signed-off-by: Josh Soref <[email protected]> * spelling: overridden Signed-off-by: Josh Soref <[email protected]> * spelling: possible Signed-off-by: Josh Soref <[email protected]> * spelling: preexisting Signed-off-by: Josh Soref <[email protected]> * spelling: prominence Signed-off-by: Josh Soref <[email protected]> * spelling: protocol Signed-off-by: Josh Soref <[email protected]> * spelling: recommend Signed-off-by: Josh Soref <[email protected]> * spelling: referent Signed-off-by: Josh Soref <[email protected]> * spelling: release Signed-off-by: Josh Soref <[email protected]> * spelling: route-override Signed-off-by: Josh Soref <[email protected]> * spelling: stabilizing Signed-off-by: Josh Soref <[email protected]> * spelling: substituted Signed-off-by: Josh Soref <[email protected]> * spelling: targeting Signed-off-by: Josh Soref <[email protected]> * spelling: the Signed-off-by: Josh Soref <[email protected]> * spelling: validationutil Signed-off-by: Josh Soref <[email protected]> * spelling: which Signed-off-by: Josh Soref <[email protected]> * Reword simplify prototyping description Signed-off-by: Josh Soref <[email protected]> --------- Signed-off-by: Josh Soref <[email protected]>
1 parent 663b32c commit d8f2a20

File tree

80 files changed

+225
-225
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

80 files changed

+225
-225
lines changed

.openvex/templates/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ vexctl add --in-place main.openvex.json pkg:oci/test CVE-2014-1234567 fixed
1414
That will add a new VEX statement expressing that the impact of
1515
CVE-2014-1234567 is under investigation in the test image. When
1616
cutting a new release, for `pkg:oci/test` the new file will be
17-
incorporated to the relase's VEX data.
17+
incorporated to the release's VEX data.
1818

1919
## Read more about OpenVEX
2020

CHANGELOG/0.x-CHANGELOG.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,7 @@ For more information refer to
226226

227227
- Added the missing ReferenceGrant resource the kustomization.yaml for the
228228
standard channel (#2084, @howardjohn)
229-
- Webhook validation now ensures that BackendRefs can not be specified in the
229+
- Webhook validation now ensures that BackendRefs cannot be specified in the
230230
same HTTPRoute rule as a Redirect filter (#2161, @slayer321)
231231
- GRPCRoute: The default match has been removed as it was invalid (it only
232232
specified a type of "Exact" without a corresponding Service or Method). Note
@@ -407,7 +407,7 @@ For more information, refer to
407407

408408
- Added the missing ReferenceGrant resource the kustomization.yaml for the
409409
standard channel (#2084, @howardjohn)
410-
- Webhook validation now ensures that BackendRefs can not be specified in the
410+
- Webhook validation now ensures that BackendRefs cannot be specified in the
411411
same HTTPRoute rule as a Redirect filter (#2161, @slayer321)
412412

413413
# v0.7.1
@@ -1089,7 +1089,7 @@ In this release, we've made two release channels available, `experimental` and
10891089
`standard`.
10901090

10911091
The `experimental` channel contains all resources and fields, while `standard`
1092-
contains only resources that mave moved to beta status.
1092+
contains only resources that have moved to beta status.
10931093

10941094
We've also added a way to flag particular fields within a resource as
10951095
experimental, and any fields marked in this way are only present in the
@@ -1274,7 +1274,7 @@ In this release, we've made two release channels available, `experimental` and
12741274
`standard`.
12751275

12761276
The `experimental` channel contains all resources and fields, while `standard`
1277-
contains only resources that mave moved to beta status.
1277+
contains only resources that have moved to beta status.
12781278

12791279
We've also added a way to flag particular fields within a resource as
12801280
experimental, and any fields marked in this way are only present in the

CHANGELOG/1.0-CHANGELOG.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ Of course there's a lot more in this release:
142142
- The condition reason `GatewayReasonAddressNotUsable` for `Programmed` has been
143143
added to deal with situations where a static address has been provided for a
144144
Gateway which is of a supported type, and is syntactically valid, but for some
145-
reason it can not be used for this Gateway (e.g. the address is already in use
145+
reason it cannot be used for this Gateway (e.g. the address is already in use
146146
on the network).
147147
(#2412 @shaneutt)
148148

@@ -332,7 +332,7 @@ Of course there's a lot more in this release:
332332
- The condition reason `GatewayReasonAddressNotUsable` for `Programmed` has been
333333
added to deal with situations where a static address has been provided for a
334334
Gateway which is of a supported type, and is syntactically valid, but for some
335-
reason it can not be used for this Gateway (e.g. the address is already in use
335+
reason it cannot be used for this Gateway (e.g. the address is already in use
336336
on the network).
337337
(#2412 @shaneutt)
338338

CHANGELOG/1.2-CHANGELOG.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -864,7 +864,7 @@ The Experimental `supportedFeatures` field in GatewayClass `status` has changed
864864
from being a list of strings to being a list of objects/structs with a `name`
865865
field.
866866

867-
This is to allow addding in extra information to each entry at a later date.
867+
This is to allow adding in extra information to each entry at a later date.
868868

869869
Relevant PRs:
870870

CHANGELOG/1.2-TEAM.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
| BackendProtocol Support | @dprotaso |
88
| HTTPRoute Retries | @mikemorris |
99
| Percentage-based request mirroring | @jakebennert |
10-
| Backend TLS Config improvments | @mkosieradzki, @LiorLieberman |
10+
| Backend TLS Config improvements | @mkosieradzki, @LiorLieberman |
1111
| Named Route Rules | @guicassolato, @howardjohn |
1212
| Conformance Profiles and Reports | @mlavacca, @shaneutt, @xtineskim |
1313
| Gateway API Maintainers | @mlavacca, @robscott, @shaneutt, @youngnick |

Makefile

+3-3
Original file line numberDiff line numberDiff line change
@@ -92,16 +92,16 @@ test.crds-validation:
9292
conformance:
9393
go test ${GO_TEST_FLAGS} -v ./conformance -run TestConformance -args ${CONFORMANCE_FLAGS}
9494

95-
# Install CRD's and example resources to a pre-existing cluster.
95+
# Install CRD's and example resources to a preexisting cluster.
9696
.PHONY: install
9797
install: crd example
9898

99-
# Install the CRD's to a pre-existing cluster.
99+
# Install the CRD's to a preexisting cluster.
100100
.PHONY: crd
101101
crd:
102102
kubectl kustomize config/crd | kubectl apply -f -
103103

104-
# Install the example resources to a pre-existing cluster.
104+
# Install the example resources to a preexisting cluster.
105105
.PHONY: example
106106
example:
107107
hack/install-examples.sh

RELEASE.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ The following steps must be done by one of the [Gateway API maintainers][gateway
7070
- Run the `make build-install-yaml` command which will generate install files in the `release/` directory.
7171
Attach these files to the GitHub release.
7272
- Update the `README.md` and `site-src/guides/index.md` files to point links and examples to the new release.
73-
- Update the implementation table path (`nav.Implementations.Comparison`) in the nav of `mkdocs.yml` to point to the latest release file (for example Implementation Comparison points to `implmenetation-table-v1.2.0.md`). Add the now past version under `Past Version Comparisons`, and edit the text blurb in `mkdocs-generate-conformance.py` to also reflect the added past version.
73+
- Update the implementation table path (`nav.Implementations.Comparison`) in the nav of `mkdocs.yml` to point to the latest release file (for example Implementation Comparison points to `implementation-table-v1.2.0.md`). Add the now past version under `Past Version Comparisons`, and edit the text blurb in `mkdocs-generate-conformance.py` to also reflect the added past version.
7474

7575
#### For an **RC** release:
7676
- Update `pkg/consts/consts.go` with the new semver tag (like `v1.2.0-rc1`) and any updates to the API review URL.

apis/v1/grpcroute_types.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,7 @@ type GRPCRouteRule struct {
230230
// Specifying the same filter multiple times is not supported unless explicitly
231231
// indicated in the filter.
232232
//
233-
// If an implementation can not support a combination of filters, it must clearly
233+
// If an implementation cannot support a combination of filters, it must clearly
234234
// document that limitation. In cases where incompatible or unsupported
235235
// filters are specified and cause the `Accepted` condition to be set to status
236236
// `False`, implementations may use the `IncompatibleFilters` reason to specify

apis/v1/httproute_types.go

+5-5
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,7 @@ type HTTPRouteRule struct {
210210
// they are specified.
211211
//
212212
// Implementations MAY choose to implement this ordering strictly, rejecting
213-
// any combination or order of filters that can not be supported. If implementations
213+
// any combination or order of filters that cannot be supported. If implementations
214214
// choose a strict interpretation of filter ordering, they MUST clearly document
215215
// that behavior.
216216
//
@@ -232,7 +232,7 @@ type HTTPRouteRule struct {
232232
//
233233
// All filters are expected to be compatible with each other except for the
234234
// URLRewrite and RequestRedirect filters, which may not be combined. If an
235-
// implementation can not support other combinations of filters, they must clearly
235+
// implementation cannot support other combinations of filters, they must clearly
236236
// document that limitation. In cases where incompatible or unsupported
237237
// filters are specified and cause the `Accepted` condition to be set to status
238238
// `False`, implementations may use the `IncompatibleFilters` reason to specify
@@ -487,7 +487,7 @@ const (
487487
PathMatchExact PathMatchType = "Exact"
488488

489489
// Matches based on a URL path prefix split by `/`. Matching is
490-
// case sensitive and done on a path element by element basis. A
490+
// case-sensitive and done on a path element by element basis. A
491491
// path element refers to the list of labels in the path split by
492492
// the `/` separator. When specified, a trailing `/` is ignored.
493493
//
@@ -596,7 +596,7 @@ type HTTPHeaderMatch struct {
596596
Type *HeaderMatchType `json:"type,omitempty"`
597597

598598
// Name is the name of the HTTP Header to be matched. Name matching MUST be
599-
// case insensitive. (See https://tools.ietf.org/html/rfc7230#section-3.2).
599+
// case-insensitive. (See https://tools.ietf.org/html/rfc7230#section-3.2).
600600
//
601601
// If multiple entries specify equivalent header names, only the first
602602
// entry with an equivalent name MUST be considered for a match. Subsequent
@@ -947,7 +947,7 @@ const (
947947
// HTTPHeader represents an HTTP Header name and value as defined by RFC 7230.
948948
type HTTPHeader struct {
949949
// Name is the name of the HTTP Header to be matched. Name matching MUST be
950-
// case insensitive. (See https://tools.ietf.org/html/rfc7230#section-3.2).
950+
// case-insensitive. (See https://tools.ietf.org/html/rfc7230#section-3.2).
951951
//
952952
// If multiple entries specify equivalent header names, the first entry with
953953
// an equivalent name MUST be considered for a match. Subsequent entries

apis/v1/shared_types.go

+4-4
Original file line numberDiff line numberDiff line change
@@ -469,7 +469,7 @@ type RouteParentStatus struct {
469469
// There are a number of cases where the "Accepted" condition may not be set
470470
// due to lack of controller visibility, that includes when:
471471
//
472-
// * The Route refers to a non-existent parent.
472+
// * The Route refers to a nonexistent parent.
473473
// * The Route is of a type that the controller does not support.
474474
// * The Route is in a namespace the controller does not have access to.
475475
//
@@ -675,7 +675,7 @@ type GatewayController string
675675
// Invalid values include:
676676
//
677677
// * example~ - "~" is an invalid character
678-
// * example.com. - can not start or end with "."
678+
// * example.com. - cannot start or end with "."
679679
//
680680
// +kubebuilder:validation:MinLength=1
681681
// +kubebuilder:validation:MaxLength=253
@@ -705,7 +705,7 @@ type AnnotationValue string
705705
// Invalid values include:
706706
//
707707
// * example~ - "~" is an invalid character
708-
// * example.com. - can not start or end with "."
708+
// * example.com. - cannot start or end with "."
709709
//
710710
// +kubebuilder:validation:MinLength=1
711711
// +kubebuilder:validation:MaxLength=253
@@ -771,7 +771,7 @@ const (
771771
// (see [RFC 5952](https://tools.ietf.org/html/rfc5952)).
772772
//
773773
// This type is intended for specific addresses. Address ranges are not
774-
// supported (e.g. you can not use a CIDR range like 127.0.0.0/24 as an
774+
// supported (e.g. you cannot use a CIDR range like 127.0.0.0/24 as an
775775
// IPAddress).
776776
//
777777
// Support: Extended

apis/v1/util/validation/gatewayclass_test.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ import (
2020
"testing"
2121

2222
gatewayv1 "sigs.k8s.io/gateway-api/apis/v1"
23-
validationtutils "sigs.k8s.io/gateway-api/apis/v1beta1/util/validation"
23+
validationutil "sigs.k8s.io/gateway-api/apis/v1beta1/util/validation"
2424
)
2525

2626
func TestIsControllerNameValid(t *testing.T) {
@@ -58,7 +58,7 @@ func TestIsControllerNameValid(t *testing.T) {
5858

5959
for _, tc := range testCases {
6060
t.Run(tc.name, func(t *testing.T) {
61-
isValid := validationtutils.IsControllerNameValid(tc.controllerName)
61+
isValid := validationutil.IsControllerNameValid(tc.controllerName)
6262
if isValid != tc.isvalid {
6363
t.Errorf("Expected validity %t, got %t", tc.isvalid, isValid)
6464
}

apis/v1alpha2/shared_types.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -313,7 +313,7 @@ type GatewayController = v1.GatewayController
313313
// Invalid values include:
314314
//
315315
// * example~ - "~" is an invalid character
316-
// * example.com. - can not start or end with "."
316+
// * example.com. - cannot start or end with "."
317317
//
318318
// +kubebuilder:validation:MinLength=1
319319
// +kubebuilder:validation:MaxLength=253
@@ -360,7 +360,7 @@ const (
360360
// (see [RFC 5952](https://tools.ietf.org/html/rfc5952)).
361361
//
362362
// This type is intended for specific addresses. Address ranges are not
363-
// supported (e.g. you can not use a CIDR range like 127.0.0.0/24 as an
363+
// supported (e.g. you cannot use a CIDR range like 127.0.0.0/24 as an
364364
// IPAddress).
365365
//
366366
// Support: Extended

apis/v1alpha2/tcproute_types.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ type TCPRouteRule struct {
6767
Name *SectionName `json:"name,omitempty"`
6868

6969
// BackendRefs defines the backend(s) where matching requests should be
70-
// sent. If unspecified or invalid (refers to a non-existent resource or a
70+
// sent. If unspecified or invalid (refers to a nonexistent resource or a
7171
// Service with no endpoints), the underlying implementation MUST actively
7272
// reject connection attempts to this backend. Connection rejections must
7373
// respect weight; if an invalid backend is requested to have 80% of

apis/v1alpha2/tlsroute_types.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ type TLSRouteRule struct {
108108
Name *SectionName `json:"name,omitempty"`
109109

110110
// BackendRefs defines the backend(s) where matching requests should be
111-
// sent. If unspecified or invalid (refers to a non-existent resource or
111+
// sent. If unspecified or invalid (refers to a nonexistent resource or
112112
// a Service with no endpoints), the rule performs no forwarding; if no
113113
// filters are specified that would result in a response being sent, the
114114
// underlying implementation must actively reject request attempts to this

apis/v1alpha2/udproute_types.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ type UDPRouteRule struct {
6767
Name *SectionName `json:"name,omitempty"`
6868

6969
// BackendRefs defines the backend(s) where matching requests should be
70-
// sent. If unspecified or invalid (refers to a non-existent resource or a
70+
// sent. If unspecified or invalid (refers to a nonexistent resource or a
7171
// Service with no endpoints), the underlying implementation MUST actively
7272
// reject connection attempts to this backend. Packet drops must
7373
// respect weight; if an invalid backend is requested to have 80% of

apis/v1alpha3/backendtlspolicy_types.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ type BackendTLSPolicyValidation struct {
112112
//
113113
// If CACertificateRefs is empty or unspecified, then WellKnownCACertificates must be
114114
// specified. Only one of CACertificateRefs or WellKnownCACertificates may be specified,
115-
// not both. If CACertifcateRefs is empty or unspecified, the configuration for
115+
// not both. If CACertificateRefs is empty or unspecified, the configuration for
116116
// WellKnownCACertificates MUST be honored instead if supported by the implementation.
117117
//
118118
// References to a resource in a different namespace are invalid for the

apis/v1beta1/shared_types.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -313,7 +313,7 @@ type GatewayController = v1.GatewayController
313313
// Invalid values include:
314314
//
315315
// * example~ - "~" is an invalid character
316-
// * example.com. - can not start or end with "."
316+
// * example.com. - cannot start or end with "."
317317
//
318318
// +kubebuilder:validation:MinLength=1
319319
// +kubebuilder:validation:MaxLength=253
@@ -360,7 +360,7 @@ const (
360360
// (see [RFC 5952](https://tools.ietf.org/html/rfc5952)).
361361
//
362362
// This type is intended for specific addresses. Address ranges are not
363-
// supported (e.g. you can not use a CIDR range like 127.0.0.0/24 as an
363+
// supported (e.g. you cannot use a CIDR range like 127.0.0.0/24 as an
364364
// IPAddress).
365365
//
366366
// Support: Extended

apis/v1beta1/util/validation/gatewayclass_test.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ import (
2020
"testing"
2121

2222
gatewayv1b1 "sigs.k8s.io/gateway-api/apis/v1beta1"
23-
validationtutils "sigs.k8s.io/gateway-api/apis/v1beta1/util/validation"
23+
validationutil "sigs.k8s.io/gateway-api/apis/v1beta1/util/validation"
2424
)
2525

2626
func TestIsControllerNameValid(t *testing.T) {
@@ -58,7 +58,7 @@ func TestIsControllerNameValid(t *testing.T) {
5858

5959
for _, tc := range testCases {
6060
t.Run(tc.name, func(t *testing.T) {
61-
isValid := validationtutils.IsControllerNameValid(tc.controllerName)
61+
isValid := validationutil.IsControllerNameValid(tc.controllerName)
6262
if isValid != tc.isvalid {
6363
t.Errorf("Expected validity %t, got %t", tc.isvalid, isValid)
6464
}

config/crd/experimental/gateway.networking.k8s.io_backendtlspolicies.yaml

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)