Skip to content

Instantly share code, notes, and snippets.

@MahatiC
Created April 15, 2024 15:58
Show Gist options
  • Save MahatiC/ff2d1f3bbf1437d14fcf84185299a96a to your computer and use it in GitHub Desktop.
Save MahatiC/ff2d1f3bbf1437d14fcf84185299a96a to your computer and use it in GitHub Desktop.
diff --git a/data-plane-shared-libraries b/data-plane-shared-libraries
index de95061..d0c1257 160000
--- a/data-plane-shared-libraries
+++ b/data-plane-shared-libraries
@@ -1 +1 @@
-Subproject commit de9506159c72ed32b32e48fc023a4f786d51e51d
+Subproject commit d0c12578592c46b84bef01f9a00e156cc3b496c2-dirty
diff --git a/production/packaging/azure/seller_frontend_service/bin/envoy.yaml b/production/packaging/azure/seller_frontend_service/bin/envoy.yaml
index a06d870..2d60c0f 100644
--- a/production/packaging/azure/seller_frontend_service/bin/envoy.yaml
+++ b/production/packaging/azure/seller_frontend_service/bin/envoy.yaml
@@ -105,7 +105,7 @@ static_resources:
address:
socket_address:
address: 0.0.0.0
- port_value: 50051
+ port_value: 50053
common_lb_config:
healthy_panic_threshold:
value: 50
diff --git a/production/packaging/azure/seller_frontend_service/bin/init_server_basic b/production/packaging/azure/seller_frontend_service/bin/init_server_basic
index 3beef7f..f879eee 100755
--- a/production/packaging/azure/seller_frontend_service/bin/init_server_basic
+++ b/production/packaging/azure/seller_frontend_service/bin/init_server_basic
@@ -23,6 +23,12 @@ set -x
#########################################################################
# Start envoy.
+
+export original_dir=$(pwd)
+cd /etc/envoy
+openssl req -x509 -newkey rsa:4096 -keyout key.pem -out cert.pem -sha256 -days 3650 -nodes -subj "/C=XX/ST=StateName/L=CityName/O=CompanyName/OU=CompanySectionName/CN=www.testenvoy.com"
+cd "$original_dir"
+
/usr/local/bin/envoy --config-path /etc/envoy/envoy.yaml -l warn &
sleep 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment