Skip to content

Commit 3886bd8

Browse files
authored
Merge pull request #1455 from jdwtf/master
adding new regions' dns suffixes to watchdog
2 parents 2958368 + e4775e1 commit 3886bd8

File tree

3 files changed

+25
-4
lines changed

3 files changed

+25
-4
lines changed

Dockerfile

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,7 @@ RUN mkdir -p /tmp/rpms && \
4545
rustup default stable && \
4646
git clone https://github.com/aws/efs-utils && \
4747
cd efs-utils && \
48-
git checkout $(git describe --tags $(git rev-list --tags --max-count=1)) && \
49-
make rpm && mv build/amazon-efs-utils*rpm /tmp/rpms && \
48+
make rpm-without-system-rust && mv build/amazon-efs-utils*rpm /tmp/rpms && \
5049
# clean up efs-utils folder after install
5150
cd .. && rm -rf efs-utils && \
5251
yum clean all; \

pkg/driver/efs_watch_dog.go

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,6 @@ disable_fetch_ec2_metadata_token = false
8888
[mount.cn-north-1]
8989
dns_name_suffix = amazonaws.com.cn
9090
91-
9291
[mount.cn-northwest-1]
9392
dns_name_suffix = amazonaws.com.cn
9493
@@ -108,6 +107,18 @@ stunnel_cafile = /etc/pki/ca-trust/extracted/pem/tls-ca-bundle.pem
108107
dns_name_suffix = sc2s.sgov.gov
109108
stunnel_cafile = /etc/pki/ca-trust/extracted/pem/tls-ca-bundle.pem
110109
110+
[mount.us-isof-east-1]
111+
dns_name_suffix = csp.hci.ic.gov
112+
stunnel_cafile = /etc/pki/ca-trust/extracted/pem/tls-ca-bundle.pem
113+
114+
[mount.us-isof-south-1]
115+
dns_name_suffix = csp.hci.ic.gov
116+
stunnel_cafile = /etc/pki/ca-trust/extracted/pem/tls-ca-bundle.pem
117+
118+
[mount.eu-isoe-west-1]
119+
dns_name_suffix = cloud.adc-e.uk
120+
stunnel_cafile = /etc/pki/ca-trust/extracted/pem/tls-ca-bundle.pem
121+
111122
[mount-watchdog]
112123
enabled = true
113124
poll_interval_sec = 1

pkg/driver/efs_watch_dog_test.go

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,6 @@ disable_fetch_ec2_metadata_token = false
7474
[mount.cn-north-1]
7575
dns_name_suffix = amazonaws.com.cn
7676
77-
7877
[mount.cn-northwest-1]
7978
dns_name_suffix = amazonaws.com.cn
8079
@@ -94,6 +93,18 @@ stunnel_cafile = /etc/pki/ca-trust/extracted/pem/tls-ca-bundle.pem
9493
dns_name_suffix = sc2s.sgov.gov
9594
stunnel_cafile = /etc/pki/ca-trust/extracted/pem/tls-ca-bundle.pem
9695
96+
[mount.us-isof-east-1]
97+
dns_name_suffix = csp.hci.ic.gov
98+
stunnel_cafile = /etc/pki/ca-trust/extracted/pem/tls-ca-bundle.pem
99+
100+
[mount.us-isof-south-1]
101+
dns_name_suffix = csp.hci.ic.gov
102+
stunnel_cafile = /etc/pki/ca-trust/extracted/pem/tls-ca-bundle.pem
103+
104+
[mount.eu-isoe-west-1]
105+
dns_name_suffix = cloud.adc-e.uk
106+
stunnel_cafile = /etc/pki/ca-trust/extracted/pem/tls-ca-bundle.pem
107+
97108
[mount-watchdog]
98109
enabled = true
99110
poll_interval_sec = 1

0 commit comments

Comments
 (0)