|
|
|
@ -58,6 +58,7 @@ class XdsKubernetesTestCase(absltest.TestCase): |
|
|
|
|
cls.network: str = xds_flags.NETWORK.value |
|
|
|
|
cls.gcp_service_account: str = xds_k8s_flags.GCP_SERVICE_ACCOUNT.value |
|
|
|
|
cls.td_bootstrap_image = xds_k8s_flags.TD_BOOTSTRAP_IMAGE.value |
|
|
|
|
cls.xds_server_uri = xds_flags.XDS_SERVER_URI.value |
|
|
|
|
|
|
|
|
|
# Base namespace |
|
|
|
|
# TODO(sergiitk): generate for each test |
|
|
|
@ -179,8 +180,9 @@ class RegularXdsKubernetesTestCase(XdsKubernetesTestCase): |
|
|
|
|
deployment_name=self.server_name, |
|
|
|
|
image_name=self.server_image, |
|
|
|
|
gcp_service_account=self.gcp_service_account, |
|
|
|
|
network=self.network, |
|
|
|
|
td_bootstrap_image=self.td_bootstrap_image) |
|
|
|
|
td_bootstrap_image=self.td_bootstrap_image, |
|
|
|
|
xds_server_uri=self.xds_server_uri, |
|
|
|
|
network=self.network) |
|
|
|
|
|
|
|
|
|
# Test Client Runner |
|
|
|
|
self.client_runner = client_app.KubernetesClientRunner( |
|
|
|
@ -189,8 +191,9 @@ class RegularXdsKubernetesTestCase(XdsKubernetesTestCase): |
|
|
|
|
deployment_name=self.client_name, |
|
|
|
|
image_name=self.client_image, |
|
|
|
|
gcp_service_account=self.gcp_service_account, |
|
|
|
|
network=self.network, |
|
|
|
|
td_bootstrap_image=self.td_bootstrap_image, |
|
|
|
|
xds_server_uri=self.xds_server_uri, |
|
|
|
|
network=self.network, |
|
|
|
|
debug_use_port_forwarding=self.debug_use_port_forwarding, |
|
|
|
|
stats_port=self.client_port, |
|
|
|
|
reuse_namespace=self.server_namespace == self.client_namespace) |
|
|
|
@ -236,6 +239,7 @@ class SecurityXdsKubernetesTestCase(XdsKubernetesTestCase): |
|
|
|
|
gcp_service_account=self.gcp_service_account, |
|
|
|
|
network=self.network, |
|
|
|
|
td_bootstrap_image=self.td_bootstrap_image, |
|
|
|
|
xds_server_uri=self.xds_server_uri, |
|
|
|
|
deployment_template='server-secure.deployment.yaml', |
|
|
|
|
debug_use_port_forwarding=self.debug_use_port_forwarding) |
|
|
|
|
|
|
|
|
@ -246,8 +250,9 @@ class SecurityXdsKubernetesTestCase(XdsKubernetesTestCase): |
|
|
|
|
deployment_name=self.client_name, |
|
|
|
|
image_name=self.client_image, |
|
|
|
|
gcp_service_account=self.gcp_service_account, |
|
|
|
|
network=self.network, |
|
|
|
|
td_bootstrap_image=self.td_bootstrap_image, |
|
|
|
|
xds_server_uri=self.xds_server_uri, |
|
|
|
|
network=self.network, |
|
|
|
|
deployment_template='client-secure.deployment.yaml', |
|
|
|
|
stats_port=self.client_port, |
|
|
|
|
reuse_namespace=self.server_namespace == self.client_namespace, |
|
|
|
|