diff options
| author | Irbe Krumina <irbe@tailscale.com> | 2024-04-29 17:03:48 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-04-29 17:03:48 +0100 |
| commit | 1452faf51021f67fe8d3a7438172f68a9889b318 (patch) | |
| tree | 66dbc03f146b3ab91afa930d7d434fbbde24a31e /control/controlknobs/controlknobs.go | |
| parent | 1e6cdb7d86b49e4cd2dceb6e001c939859684b34 (diff) | |
| download | tailscale-1452faf51021f67fe8d3a7438172f68a9889b318.tar.xz tailscale-1452faf51021f67fe8d3a7438172f68a9889b318.zip | |
cmd/containerboot,kube,ipn/store/kubestore: allow interactive login on kube, check Secret create perms, allow empty state Secret (#11326)
cmd/containerboot,kube,ipn/store/kubestore: allow interactive login and empty state Secrets, check perms
* Allow users to pre-create empty state Secrets
* Add a fake internal kube client, test functionality that has dependencies on kube client operations.
* Fix an issue where interactive login was not allowed in an edge case where state Secret does not exist
* Make the CheckSecretPermissions method report whether we have permissions to create/patch a Secret if it's determined that these operations will be needed
Updates tailscale/tailscale#11170
Signed-off-by: Irbe Krumina <irbe@tailscale.com>
Diffstat (limited to 'control/controlknobs/controlknobs.go')
0 files changed, 0 insertions, 0 deletions
