Skip to content

Commit 0d60961

Browse files
committed
fix typos
On-behalf-of: @SAP christoph.mewes@sap.com
1 parent ea5068f commit 0d60961

12 files changed

Lines changed: 13 additions & 13 deletions

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ $ kubectl krew index add bind https://github.com/kube-bind/krew-index.git
2626
$ kubectl krew install bind/bind
2727
$ kubectl bind login https://mangodb
2828
$ kubectl bind
29-
Redirect to the brower to authenticate via OIDC.
29+
Redirect to the browser to authenticate via OIDC.
3030
BOOM – the MangoDB API is available in the local cluster,
3131
without anything MangoDB-specific running.
3232
$ kubectl get mangodbs

backend/oidc/oidc.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ func (s *Server) Config(callbackURL, issuerURL string) (*Config, error) {
9191
c := &Config{
9292
ClientID: s.server.Config().ClientID,
9393
ClientSecret: s.server.Config().ClientSecret,
94-
Issuer: issuerURL, // This overrided default fake OIDC issuer URL. Must match what it is served at.
94+
Issuer: issuerURL, // This overrides default fake OIDC issuer URL. Must match what it is served at.
9595

9696
AccessTTL: s.server.Config().AccessTTL,
9797
RefreshTTL: s.server.Config().RefreshTTL,

cli/cmd/kubectl-bind/cmd/kubectlBind_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ func TestKubectlBindCommand(t *testing.T) {
3030

3131
require.Equal(t, "kubectl-bind", rootCmd.Use, "Unexpected one-line command description")
3232
require.Equal(t, "kubectl plugin for kube-bind, bind different remote types into the current cluster.", rootCmd.Short, "Unexpected short command description")
33-
require.Contains(t, rootCmd.Long, "To bind a remote service, use the 'kubectl bind' command.", "Unexpected lond command Long")
33+
require.Contains(t, rootCmd.Long, "To bind a remote service, use the 'kubectl bind' command.", "Unexpected long command")
3434
require.Equal(t, rootCmd.Example, fmt.Sprintf(bindcmd.BindExampleUses, "kubectl"), "Unexpected command Example")
3535
}
3636

cli/pkg/kubectl/bind-login/plugin/login.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ type LoginOptions struct {
5858
}
5959

6060
// TokenResponse represents the response from the OAuth callback
61-
// Important: this stuct must match one on backend/auth/types.go
61+
// Important: this struct must match one on backend/auth/types.go
6262
type TokenResponse struct {
6363
// OAuth2 token fields
6464
AccessToken string `json:"access_token"`

contrib/kcp/go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ replace (
1414
// Can use versioned when v0.28.2 releases
1515
replace github.com/kcp-dev/kcp/sdk => github.com/kcp-dev/kcp/sdk v0.28.1-0.20251003164010-742ce0ea6b8c
1616

17-
// k/k 1.34 is leaking from main repo. This pins some deps to force depdendency tree to be on 1.34
17+
// k/k 1.34 is leaking from main repo. This pins some deps to force dependency tree to be on 1.34
1818
replace (
1919
github.com/google/gnostic-models => github.com/google/gnostic-models v0.6.9
2020
k8s.io/kube-openapi => k8s.io/kube-openapi v0.0.0-20250318190949-c8a335a9a2ff

contrib/kcp/test/e2e/kcp_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ func testKcpIntegration(t *testing.T, name string, scope kubebindv1alpha2.Inform
155155
// Can assume that the last entry is now the cluster-id, grab it and
156156
// sanity check that it's not empty
157157
providerClusterID := providerClusterSplit[len(providerClusterSplit)-1]
158-
require.NotEmpty(t, providerClusterID, "Retreived cluster id is empty, source URL: %s", providerCluster.Status.URL)
158+
require.NotEmpty(t, providerClusterID, "Retrieved cluster id is empty, source URL: %s", providerCluster.Status.URL)
159159

160160
// kube-bind process
161161
t.Log("Perform binding process with browser")

pkg/konnector/controllers/cluster/serviceexport/isolation/prefixed.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ type prefixedStrategy struct {
3737
// object on the provider cluster gets the name of the cluster namespace prepended
3838
// to their name (i.e. turning "my-obj" into "kube-bind-abc123-my-obj"). This is
3939
// effective and easy since no scoping changes need to be accounted for (i.e. the
40-
// BoundSchema does not need to be adjusted), but could theorically cause problems
40+
// BoundSchema does not need to be adjusted), but could theoretically cause problems
4141
// for objects with very long names that do not have enough room for such a prefix.
4242
func NewPrefixed(clusterNamespace string, clusterNamespaceUID string) Strategy {
4343
return &prefixedStrategy{

pkg/konnector/controllers/cluster/serviceexport/isolation/servicenamespaced.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ type ServiceNamespacedStrategy struct {
3838

3939
// NewServiceNamespaced returns the one and only valid isolation strategy for
4040
// namespaced objects. It is special in a sense that it does not map consumer
41-
// namespaces 1:1 to provider namspaces, but uses APIServiceNamespace objects
41+
// namespaces 1:1 to provider namespaces, but uses APIServiceNamespace objects
4242
// to request the backend to assign a namespace on the provider cluster. This
4343
// strategy must not be used for cluster-scoped resources.
4444
func NewServiceNamespaced(

pkg/konnector/controllers/cluster/serviceexport/serviceexport_reconcile.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -404,7 +404,7 @@ func (r *reconciler) ensureControllerForPermissionClaim(
404404
dynamicProviderClient := dynamicclient.NewForConfigOrDie(r.providerConfig)
405405
dynamicConsumerClient := dynamicclient.NewForConfigOrDie(r.consumerConfig)
406406

407-
// Create consumer informer factory. This is always unfiltered, as we might be geeting obejcts from referece,
407+
// Create consumer informer factory. This is always unfiltered, as we might be getting objcts from reference,
408408
// label or named. We need to see all objects to determine if they are claimed.
409409
defaultConsumerInf := dynamicinformer.NewDynamicSharedInformerFactory(dynamicConsumerClient, time.Minute*30)
410410

pkg/konnector/controllers/cluster/serviceexport/spec/spec_reconcile_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ func TestInjectClusterNamespace(t *testing.T) {
4747
name: "oneExistingClusterNs",
4848
obj: newObjectWithClusterNs("kube-bind-zlp9m"),
4949
clusterNs: "kube-bind-s85lc",
50-
clusterNsUID: "real-indentity",
50+
clusterNsUID: "real-identity",
5151
expected: "kube-bind-zlp9m",
5252
wantErr: true,
5353
},

0 commit comments

Comments
 (0)