Skip to content

Commit

Permalink
setting leader node to be accessable to internal traffic only (#366)
Browse files Browse the repository at this point in the history
* setting leader node to be accessable to internal traffic only

* static string

---------

Co-authored-by: Serhii Volovyk <SergeyVolovyk@gmail.com>
  • Loading branch information
kmaus-near and volovyks authored Nov 16, 2023
1 parent 912d43f commit 3b95ef5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion infra/modules/leader/main.tf
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
resource "google_cloud_run_v2_service" "leader" {
name = var.service_name
location = var.region
ingress = "INGRESS_TRAFFIC_ALL"
ingress = "INGRESS_TRAFFIC_INTERNAL_ONLY"

template {
service_account = var.service_account_email
Expand Down
2 changes: 1 addition & 1 deletion integration-tests/src/env/containers.rs
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,7 @@ pub struct RelayerConfig {

impl<'a> Relayer<'a> {
pub const CONTAINER_PORT: u16 = 3000;
pub const TMP_FOLDER_PATH: &str = "./tmp";
pub const TMP_FOLDER_PATH: &'static str = "./tmp";

pub async fn run(
docker_client: &'a DockerClient,
Expand Down

0 comments on commit 3b95ef5

Please sign in to comment.