public async Task AddKubernetesActuatorsWithConventions_IHostBuilder_AddsAndActivatesActuatorsAddAllActuators()
        {
            var hostBuilder = new HostBuilder().ConfigureWebHost(_testServerWithSecureRouting);

            var host = await hostBuilder.AddKubernetesActuators(ep => ep.RequireAuthorization("TestAuth")).StartAsync();

            var testClient = host.GetTestServer().CreateClient();

            var response = await testClient.GetAsync("/actuator");

            Assert.Equal(HttpStatusCode.OK, response.StatusCode);
            response = await testClient.GetAsync("/actuator/info");

            Assert.Equal(HttpStatusCode.OK, response.StatusCode);
            response = await testClient.GetAsync("/actuator/health");

            Assert.Equal(HttpStatusCode.OK, response.StatusCode);
            response = await testClient.GetAsync("/actuator/health/liveness");

            Assert.Equal(HttpStatusCode.OK, response.StatusCode);
            Assert.Contains("\"LivenessState\":\"CORRECT\"", await response.Content.ReadAsStringAsync());
            response = await testClient.GetAsync("/actuator/health/readiness");

            Assert.Equal(HttpStatusCode.OK, response.StatusCode);
            Assert.Contains("\"ReadinessState\":\"ACCEPTING_TRAFFIC\"", await response.Content.ReadAsStringAsync());
            response = await testClient.GetAsync("/actuator/httptrace");

            Assert.Equal(HttpStatusCode.OK, response.StatusCode);
        }
        public async Task AddKubernetesActuators_IHostBuilder_AddsAndActivatesActuators_MediaV1()
        {
            var hostBuilder = new HostBuilder().ConfigureWebHost(_testServerWithRouting);

            var host = await hostBuilder.AddKubernetesActuators(MediaTypeVersion.V1).StartAsync();

            var testClient = host.GetTestServer().CreateClient();

            var response = await testClient.GetAsync("/actuator");

            Assert.Equal(HttpStatusCode.OK, response.StatusCode);
            response = await testClient.GetAsync("/actuator/info");

            Assert.Equal(HttpStatusCode.OK, response.StatusCode);
            response = await testClient.GetAsync("/actuator/health");

            Assert.Equal(HttpStatusCode.OK, response.StatusCode);
            response = await testClient.GetAsync("/actuator/health/liveness");

            Assert.Equal(HttpStatusCode.OK, response.StatusCode);
            Assert.Contains("\"LivenessState\":\"CORRECT\"", await response.Content.ReadAsStringAsync());
            response = await testClient.GetAsync("/actuator/health/readiness");

            Assert.Equal(HttpStatusCode.OK, response.StatusCode);
            Assert.Contains("\"ReadinessState\":\"ACCEPTING_TRAFFIC\"", await response.Content.ReadAsStringAsync());
            response = await testClient.GetAsync("/actuator/trace");

            Assert.Equal(HttpStatusCode.OK, response.StatusCode);
        }