@@ -45,6 +45,7 @@ The TOML config should specify the test runner configuration as follows:
4545```
4646namespace = "e2e-tests"
4747rbac_role_name = "" # RBAC role name for the chart
48+ rbac_service_account_name = "" # RBAC service account name for the chart
4849image_registry_url = "" # URL to the ECR containing the test binary image, e.g., staging ECR URL
4950image_name = "k8s-test-runner"
5051image_tag = "" # The image tag to use, like "mercury-load-tests" (see readme above)
@@ -61,8 +62,16 @@ resources_limits_memory = "1024Mi"
6162WASP_LOG_LEVEL = "info"
6263TEST_LOG_LEVEL = "info"
6364MERCURY_TEST_LOG_LEVEL = "info"
65+ [metadata.labels]
66+ "chain.link/component" = "k8s-test-runner"
67+ "chain.link/product" = "<your-product-name>"
68+ "chain.link/team" = "<name–of-the-team-you're-running-the-test-for>"
69+ "chain.link/cost-center" = "<sensible-identifier:eg: product-testType-test>"
6470```
6571
72+ > [ NOTE]
73+ > Make sure to quote labels with "/" as otherwise parsing them will fail.
74+
6675Where:
6776
6877- ` test_name ` is the name of the test to run (must be included in the test binary).
@@ -113,6 +122,7 @@ Then:
113122 cat << EOF > config.toml
114123 namespace = "e2e-tests"
115124 rbac_role_name = "" # RBAC role name for the chart
125+ rbac_service_account_name = "" # RBAC service account name for the chart
116126 image_registry_url = "${{ secrets.AWS_ACCOUNT_ID_STAGING }}.dkr.ecr.${{ secrets.AWS_REGION }}.amazonaws.com"
117127 image_name = "k8s-test-runner"
118128 image_tag = "mercury-load-test"
@@ -130,6 +140,11 @@ Then:
130140 WASP_LOG_LEVEL = "info"
131141 TEST_LOG_LEVEL = "info"
132142 MERCURY_TEST_LOG_LEVEL = "info"
143+ [metadata.labels]
144+ "chain.link/component" = "k8s-test-runner"
145+ "chain.link/product" = "data-streamsv0.3"
146+ "chain.link/team" = "Data Streams"
147+ "chain.link/cost-center" = "data-streamsv0.3-load-test"
133148 EOF
134149
135150 ./k8s-test-runner-linux-amd64 run -c config.toml
0 commit comments