Skip to content

Commit bee16f9

Browse files
Fix typos in word Cluster and through
Signed-off-by: killianmuldoon <[email protected]>
1 parent 74ff317 commit bee16f9

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

cmd/clusterctl/client/clusterclass.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,12 +60,12 @@ func addClusterClassIfMissing(template Template, clusterClassClient repository.C
6060
}
6161

6262
// clusterClassNamesFromTemplate returns the list of ClusterClasses referenced
63-
// by custers defined in the template. If not clusters are defined in the template
63+
// by clusters defined in the template. If not clusters are defined in the template
6464
// or if no cluster uses a cluster class it returns an empty list.
6565
func clusterClassNamesFromTemplate(template Template) ([]string, error) {
6666
classes := []string{}
6767

68-
// loop thorugh all the objects and if the object is a cluster
68+
// loop through all the objects and if the object is a cluster
6969
// check and see if cluster.spec.topology.class is defined.
7070
// If defined, add value to the result.
7171
for i := range template.Objs() {

docs/book/src/developer/providers/v1.2-to-v1.3.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ The default value is 0, meaning that the volume can be detached without any time
4747
* the default test timeout has been [changed to 1h](https://onsi.github.io/ginkgo/MIGRATING_TO_V2#timeout-behavior)
4848
* the `--junit-report` argument [replaces JUnit custom reporter](https://onsi.github.io/ginkgo/MIGRATING_TO_V2#improved-reporting-infrastructure) code
4949
* see the ["Update tests to Ginkgo v2" PR](https://github.com/kubernetes-sigs/cluster-api/pull/6906) for a reference example
50-
- Custer API introduced new [logging guidelines](../../developer/logging.md). All reconcilers in the core repository were updated
50+
- Cluster API introduced new [logging guidelines](../../developer/logging.md). All reconcilers in the core repository were updated
5151
to [log the entire object hierarchy](../../developer/logging.md#keyvalue-pairs). It would be great if providers would be adjusted
5252
as well to make it possible to cross-reference log entries across providers (please see CAPD for an infra provider reference implementation).
5353
- The `CreateLogFile` function and `CreateLogFileInput` struct in the E2E test framework for clusterctl has been renamed to `OpenLogFile` and `OpenLogFileInput` because the function will now append to the logfile instead of truncating the content.

docs/proposals/20210526-cluster-class-and-managed-topologies.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ for all fields of all templates referenced in a ClusterClass.
154154

155155
#### Story 5 - Ability to define ClusterClass customizations
156156
As a ClusterClass author (e.g. an infrastructure provider author), I want to be able to write a ClusterClass which covers a wide range of use cases. To make this possible,
157-
I want to make the CusterClass customizable, i.e. depending on configuration provided during Cluster creation, the managed topology should have a different shape.
157+
I want to make the ClusterClass customizable, i.e. depending on configuration provided during Cluster creation, the managed topology should have a different shape.
158158

159159
**Note**: Without this feature all Clusters of the same ClusterClass would be the same apart from the properties that are already configure via the topology,
160160
like Kubernetes version, labels and annotations. This would limit the number of variants a single ClusterClass could address, i.e. separate ClusterClasses would be

0 commit comments

Comments
 (0)