Skip to content

Commit

Permalink
feat: make prober dev & local take 2 edps
Browse files Browse the repository at this point in the history
  • Loading branch information
roaminggypsy committed Dec 9, 2024
1 parent a05eff6 commit aacf3a3
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 10 deletions.
6 changes: 2 additions & 4 deletions src/main/k8s/dev/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -517,10 +517,8 @@ cue_dump(
"image_repo_prefix": IMAGE_REPOSITORY_SETTINGS.repository_prefix,
"image_tag": IMAGE_REPOSITORY_SETTINGS.image_tag,
"secret_name": SECRET_NAME,
"edp_resource_names": [
SIMULATOR_K8S_SETTINGS.edp1_name,
SIMULATOR_K8S_SETTINGS.edp2_name,
],
"edp1_name": SIMULATOR_K8S_SETTINGS.edp1_name,
"edp2_name": SIMULATOR_K8S_SETTINGS.edp2_name,
},
tags = ["manual"],
deps = [
Expand Down
4 changes: 3 additions & 1 deletion src/main/k8s/dev/measurement_system_prober.cue
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,9 @@ package k8s
_secret_name: string @tag("secret_name")
_mc_resource_name: string @tag("mc_name")
_mc_api_key: string @tag("mc_api_key")
_edp_resource_names: [...string] @tag("edp_resource_names")
_edp1: string @tag("edp1_name")
_edp2: string @tag("edp2_name")
_edp_resource_names: [_edp1, _edp2]

#KingdomPublicApiTarget: (#Target & {name: "v2alpha-public-api-server"}).target

Expand Down
6 changes: 2 additions & 4 deletions src/main/k8s/local/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -207,10 +207,8 @@ cue_dump(
"image_repo_prefix": IMAGE_REPOSITORY_SETTINGS.repository_prefix,
"image_tag": IMAGE_REPOSITORY_SETTINGS.image_tag,
"secret_name": SECRET_NAME,
"edp_resource_names": [
TEST_K8S_SETTINGS.edp1_name,
TEST_K8S_SETTINGS.edp2_name,
],
"edp1_name": TEST_K8S_SETTINGS.edp1_name,
"edp2_name": TEST_K8S_SETTINGS.edp2_name,
},
tags = ["manual"],
deps = [
Expand Down
4 changes: 3 additions & 1 deletion src/main/k8s/local/measurement_system_prober.cue
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,9 @@ package k8s
_secret_name: string @tag("secret_name")
_mc_resource_name: string @tag("mc_name")
_mc_api_key: string @tag("mc_api_key")
_edp_resource_names: [...string] @tag("edp_resource_names")
_edp1: string @tag("edp1_name")
_edp2: string @tag("edp2_name")
_edp_resource_names: [_edp1, _edp2]

#KingdomPublicApiTarget: (#Target & {name: "v2alpha-public-api-server"}).target

Expand Down

0 comments on commit aacf3a3

Please sign in to comment.