Add WebhookAuthenticator integration tests, expand unit tests

- Add WebhookAuthenticator unit tests, update generated code
- Add validateTLSNegotiation(), update tests
- Update validateTLSNegotiation, add unit tests, factor out helpers
- Update generated code
This commit is contained in:
Benjamin A. Petersen
2024-02-21 15:05:01 -05:00
parent ef36b454ba
commit 590e2d18f7
37 changed files with 1338 additions and 194 deletions

View File

@@ -2,3 +2,9 @@
// SPDX-License-Identifier: Apache-2.0
package integration
// TODO: for integration tests, not unit tests....
// env.APIGroupSuffix for log messages/conditions when relevant, ie if "pinniped.dev" appears
// env.CLIUpstreamOIDC.Issuer if a real endpoint is needed as we shouldn't actually make requests
// to example.com
// goodEndpoint := "https://example.com"