Add integration test to verify that the impersonation proxy will use an external TLS serving cert

This commit is contained in:
Joshua Casey
2023-07-24 09:37:45 -05:00
parent ee75a63057
commit 959f18b67b
2 changed files with 81 additions and 2 deletions

View File

@@ -267,7 +267,7 @@ func TestImpersonatorConfigControllerSync(t *testing.T) {
const clusterIPServiceName = "some-cluster-ip-resource-name"
const internallyGeneratedTLSServingCertSecretName = "some-tls-secret-name" //nolint:gosec // this is not a credential
const internallyGeneratedTLSServingCASecretName = "some-ca-secret-name"
const mTLSClientCertCASecretName = "some-ca-signer-name"
const mTLSClientCertCASecretName = "some-ca-signer-name" //nolint:gosec // this is not a credential
const localhostIP = "127.0.0.1"
const httpsPort = ":443"
const fakeServerResponseBody = "hello, world!"
@@ -1346,7 +1346,6 @@ func TestImpersonatorConfigControllerSync(t *testing.T) {
})
})
})
})
when("the configuration is auto mode", func() {