You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@datalab.apache.org by lf...@apache.org on 2020/11/04 15:37:53 UTC
[incubator-datalab] branch DATALAB-2131 created (now b9c941e)
This is an automated email from the ASF dual-hosted git repository.
lfrolov pushed a change to branch DATALAB-2131
in repository https://gitbox.apache.org/repos/asf/incubator-datalab.git.
at b9c941e [DATALAB-2131]: added another vpc subnet cidr as allowed source range for edge-sg-ingress-internal firewall
This branch includes the following new commits:
new b9c941e [DATALAB-2131]: added another vpc subnet cidr as allowed source range for edge-sg-ingress-internal firewall
The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@datalab.apache.org
For additional commands, e-mail: commits-help@datalab.apache.org
[incubator-datalab] 01/01: [DATALAB-2131]: added another vpc subnet
cidr as allowed source range for edge-sg-ingress-internal firewall
Posted by lf...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
lfrolov pushed a commit to branch DATALAB-2131
in repository https://gitbox.apache.org/repos/asf/incubator-datalab.git
commit b9c941efe3ac980b22a52e18fbaf0f54053d3dc1
Author: leonidfrolov <fr...@gmail.com>
AuthorDate: Wed Nov 4 17:37:30 2020 +0200
[DATALAB-2131]: added another vpc subnet cidr as allowed source range for edge-sg-ingress-internal firewall
---
.../src/general/scripts/gcp/project_prepare.py | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/infrastructure-provisioning/src/general/scripts/gcp/project_prepare.py b/infrastructure-provisioning/src/general/scripts/gcp/project_prepare.py
index e444c18..47a781d 100644
--- a/infrastructure-provisioning/src/general/scripts/gcp/project_prepare.py
+++ b/infrastructure-provisioning/src/general/scripts/gcp/project_prepare.py
@@ -251,7 +251,10 @@ if __name__ == "__main__":
ingress_rule = dict()
ingress_rule['name'] = project_conf['fw_edge_ingress_internal']
ingress_rule['targetTags'] = [project_conf['network_tag']]
- ingress_rule['sourceRanges'] = [project_conf['private_subnet_cidr']]
+ ingress_rule['sourceRanges'] = [project_conf['private_subnet_cidr'],
+ GCPMeta.get_subnet('{}-subnet'.format(project_conf['service_base_name']),
+ project_conf['region'])['ipCidrRange']
+ ]
rules = [
{
'IPProtocol': 'all'
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@datalab.apache.org
For additional commands, e-mail: commits-help@datalab.apache.org