Browse Source

Fix code spell check

Signed-off-by: Manuel Buil <mbuil@suse.com>
pull/7858/head
Manuel Buil 1 year ago
parent
commit
bca0adbca8
  1. 2
      docs/adrs/core-controller-user.md
  2. 2
      pkg/agent/tunnel/tunnel.go

2
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). * 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. * 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 ## Consequences

2
pkg/agent/tunnel/tunnel.go

@ -337,7 +337,7 @@ func (a *agentTunnel) watchEndpoints(ctx context.Context, apiServerReady <-chan
var debounceCtx context.Context var debounceCtx context.Context
debounceCtx, cancelUpdate = context.WithCancel(ctx) 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 // 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 // endpoint changes immediately. Instead, perform the endpoint update in a
// goroutine that sleeps for a short period before checking for changes and updating // goroutine that sleeps for a short period before checking for changes and updating

Loading…
Cancel
Save