tailscale/ipn/store
Irbe Krumina 1452faf510
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>
2024-04-29 17:03:48 +01:00
..
awsstore ipn/store/awsstore: persist state with intelligent tiering 2023-04-24 14:35:13 -04:00
kubestore cmd/containerboot,kube,ipn/store/kubestore: allow interactive login on kube, check Secret create perms, allow empty state Secret (#11326) 2024-04-29 17:03:48 +01:00
mem all: use Go 1.20's bytes.Clone 2023-02-01 17:39:18 -08:00
store_aws.go ipn/store: omit AWS & Kubernetes support on 'small' Linux GOARCHes 2024-04-17 10:20:11 -07:00
store_kube.go ipn/store: omit AWS & Kubernetes support on 'small' Linux GOARCHes 2024-04-17 10:20:11 -07:00
stores.go ipn/store: omit AWS & Kubernetes support on 'small' Linux GOARCHes 2024-04-17 10:20:11 -07:00
stores_test.go all: update copyright and license headers 2023-01-27 15:36:29 -08:00