kube: fix typo (#12437)

Updates#cleanup

Signed-off-by: Irbe Krumina <irbe@tailscale.com>
This commit is contained in:
Irbe Krumina 2024-06-12 16:15:12 +01:00 committed by GitHub
parent a95ea31a4e
commit f5936d132a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -29,10 +29,10 @@ type KubernetesCapRule struct {
// be sent to the tsrecorder. This field does not exist in the user // be sent to the tsrecorder. This field does not exist in the user
// provided ACL grants - it is populated by control, which obtains the // provided ACL grants - it is populated by control, which obtains the
// addresses by resolving the tags provided via `Recorders` field. // addresses by resolving the tags provided via `Recorders` field.
RecorderAddrs []netip.AddrPort `json:"recoderAddrs,omitempty"` RecorderAddrs []netip.AddrPort `json:"recorderAddrs,omitempty"`
// EnforceRecorder defines whether a kubectl exec session from a client // EnforceRecorder defines whether a kubectl exec session from a client
// matching `src` to an API server proxy matching `dst` should fail // matching `src` to an API server proxy matching `dst` should fail
// closed if it cannot be recorded (i.e if no recoder can be reached). // closed if it cannot be recorded (i.e if no recorder can be reached).
// Default is to fail open. // Default is to fail open.
// The field name matches `EnforceRecorder` field with equal semantics for Tailscale SSH // The field name matches `EnforceRecorder` field with equal semantics for Tailscale SSH
// session recorder. // session recorder.