From bca0adbca8023c1ae3542b05c48edbc8d2df76dd Mon Sep 17 00:00:00 2001 From: Manuel Buil Date: Tue, 4 Jul 2023 13:02:06 +0200 Subject: [PATCH] Fix code spell check Signed-off-by: Manuel Buil --- docs/adrs/core-controller-user.md | 2 +- pkg/agent/tunnel/tunnel.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/adrs/core-controller-user.md b/docs/adrs/core-controller-user.md index 91a693c194..36bf0b6868 100644 --- a/docs/adrs/core-controller-user.md +++ b/docs/adrs/core-controller-user.md @@ -17,7 +17,7 @@ Users may have policies in place that prohibit use of the `system:admin` account * We will add a new kubeconfig for the K3s supervisor controllers: core functionality, deploy (AddOns; aka the manifests directory), and helm (HelmChart/HelmChartConfig). * Each of the three controllers will use a dedicated user-agent to further assist in discriminating between events, via both audit logs and resource ManageFields tracking. -* The new user account will use exisiting core Kubernetes group RBAC. +* The new user account will use existing core Kubernetes group RBAC. ## Consequences diff --git a/pkg/agent/tunnel/tunnel.go b/pkg/agent/tunnel/tunnel.go index b9e6dd9969..0f6acb9da6 100644 --- a/pkg/agent/tunnel/tunnel.go +++ b/pkg/agent/tunnel/tunnel.go @@ -337,7 +337,7 @@ func (a *agentTunnel) watchEndpoints(ctx context.Context, apiServerReady <-chan var debounceCtx context.Context debounceCtx, cancelUpdate = context.WithCancel(ctx) - // When joining the cluster, the apiserver adds, removes, and then readds itself to + // When joining the cluster, the apiserver adds, removes, and then re-adds itself to // the endpoint list several times. This causes a bit of thrashing if we react to // endpoint changes immediately. Instead, perform the endpoint update in a // goroutine that sleeps for a short period before checking for changes and updating