You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tailscale/cmd/k8s-operator
David Anderson c902190e67 cmd/k8s-operator: factor out some of the larger expected test outputs.
For other test cases, the operator is going to produce similar generated
objects in several codepaths, and those objects are large. Move them out
to helpers so that the main test code stays a bit more intelligible.

The top-level Service that we start and end with remains in the main test
body, because its shape at the start and end is one of the main things that
varies a lot between test cases.

Updates #502.

Signed-off-by: David Anderson <danderson@tailscale.com>
2 years ago
..
manifests cmd/k8s-operator: add a kubernetes operator. 2 years ago
operator.go cmd/k8s-operator: remove unused structs. Cleanup missed in #6718. 2 years ago
operator_test.go cmd/k8s-operator: factor out some of the larger expected test outputs. 2 years ago