mirror of
https://github.com/tailscale/tailscale.git
synced 2025-12-23 09:06:24 +00:00
cmd/k8s-operator: validate Service tags, catch duplicate Tailscale Services (#16058)
Validate that any tags that users have specified via tailscale.com/tags annotation are valid Tailscale ACL tags. Validate that no more than one HA Tailscale Kubernetes Services in a single cluster refer to the same Tailscale Service. Updates tailscale/tailscale#16054 Updates tailscale/tailscale#16035 Signed-off-by: Irbe Krumina <irbe@tailscale.com>
This commit is contained in:
@@ -1804,7 +1804,7 @@ func Test_metricsResourceCreation(t *testing.T) {
|
||||
|
||||
func TestIgnorePGService(t *testing.T) {
|
||||
// NOTE: creating proxygroup stuff just to be sure that it's all ignored
|
||||
_, _, fc, _ := setupServiceTest(t)
|
||||
_, _, fc, _, _ := setupServiceTest(t)
|
||||
|
||||
ft := &fakeTSClient{}
|
||||
zl, err := zap.NewDevelopment()
|
||||
|
||||
Reference in New Issue
Block a user