diff --git a/api/internal/plugins/builtinconfig/namebackreferences.go b/api/internal/plugins/builtinconfig/namebackreferences.go index 354f70e51..36ef42c27 100644 --- a/api/internal/plugins/builtinconfig/namebackreferences.go +++ b/api/internal/plugins/builtinconfig/namebackreferences.go @@ -22,7 +22,7 @@ import ( // contains a Pod; Deployment, Job, StatefulSet, etc. // The ConfigMap is the ReferralTarget, the others are Referrers. // -// If the the name of a ConfigMap instance changed from 'alice' to 'bob', +// If the name of a ConfigMap instance changed from 'alice' to 'bob', // one must // - visit all objects that could refer to the ConfigMap (the Referrers) // - see if they mention 'alice', diff --git a/cmd/gorepomod/README.md b/cmd/gorepomod/README.md index 585aa9126..c450eb5b6 100644 --- a/cmd/gorepomod/README.md +++ b/cmd/gorepomod/README.md @@ -78,7 +78,7 @@ If the existing version is _v1.2.7_, then the new version will be: - `minor` -> _v1.3.0_ - `major` -> _v2.0.0_ -After establishing the the version, the command looks for a branch named +After establishing the version, the command looks for a branch named > _release-{module}/-v{major}.{minor}_ diff --git a/cmd/gorepomod/usage.go b/cmd/gorepomod/usage.go index 47edaed87..a91d056a7 100644 --- a/cmd/gorepomod/usage.go +++ b/cmd/gorepomod/usage.go @@ -76,7 +76,7 @@ If the existing version is _v1.2.7_, then the new version will be: - 'minor' -> _v1.3.0_ - 'major' -> _v2.0.0_ -After establishing the the version, the command looks for a branch named +After establishing the version, the command looks for a branch named > _release-{module}/-v{major}.{minor}_ diff --git a/kyaml/fn/framework/example/doc.go b/kyaml/fn/framework/example/doc.go index a88333744..8267886e7 100644 --- a/kyaml/fn/framework/example/doc.go +++ b/kyaml/fn/framework/example/doc.go @@ -1,7 +1,7 @@ // Copyright 2019 The Kubernetes Authors. // SPDX-License-Identifier: Apache-2.0 -// Package main contains an example using the the framework. +// Package main contains an example using the framework. // The example annotates all resources in the input with the value provided as a flag, // and adds all resources in the templates/ directory to the list. // diff --git a/kyaml/kio/byteio_writer.go b/kyaml/kio/byteio_writer.go index 7785c9d44..ec4cafe30 100644 --- a/kyaml/kio/byteio_writer.go +++ b/kyaml/kio/byteio_writer.go @@ -45,7 +45,7 @@ type ByteWriter struct { // WrappingAPIVersion is the apiVersion for WrappingKind WrappingAPIVersion string - // Sort if set, will cause ByteWriter to sort the the nodes before writing them. + // Sort if set, will cause ByteWriter to sort the nodes before writing them. Sort bool } diff --git a/kyaml/openapi/openapi.go b/kyaml/openapi/openapi.go index 7f2398f78..ecade83c1 100644 --- a/kyaml/openapi/openapi.go +++ b/kyaml/openapi/openapi.go @@ -545,7 +545,7 @@ const ( groupKey = "group" // versionKey is the key to lookup the version from the GVK extension versionKey = "version" - // kindKey is the the to lookup the kind from the GVK extension + // kindKey is the to lookup the kind from the GVK extension kindKey = "kind" ) diff --git a/kyaml/yaml/walk/associative_sequence.go b/kyaml/yaml/walk/associative_sequence.go index 7657ebc0f..5cea8d92f 100644 --- a/kyaml/yaml/walk/associative_sequence.go +++ b/kyaml/yaml/walk/associative_sequence.go @@ -217,7 +217,7 @@ func (l *Walker) setAssociativeSequenceElements(valuesList [][]string, keys []st // Add the val to the sequence. val will replace the item in the sequence if // there is an item that matches all key-value pairs. Otherwise val will be appended - // the the sequence. + // the sequence. _, err = itemsToBeAdded.Pipe(yaml.ElementSetter{ Element: val.YNode(), Keys: validKeys, diff --git a/proposals/00-00-template.md b/proposals/00-00-template.md index 367bbe5a4..fd07ecb56 100644 --- a/proposals/00-00-template.md +++ b/proposals/00-00-template.md @@ -89,7 +89,7 @@ The goal here is to make this feel real for users without getting bogged down. Scenario summary: As a [end user, extension developer, ...], I want to [...] @@ -98,7 +98,7 @@ and config they'll use. Scenario summary: As a [end user, extension developer, ...], I want to [...]