Skip to content

Commit

Permalink
add(TCP traffic): for DNS (#712)
Browse files Browse the repository at this point in the history
* add(TCP traffic): for DNS

based on weaveworks/weave#3287 (comment)
Thanks Zac for the quick find of this issue

* chore(usersync): also using TCP for DNS
  • Loading branch information
fauzigo committed Mar 1, 2019
1 parent eb76e25 commit 6e53183
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 0 deletions.
Expand Up @@ -99,6 +99,7 @@ spec:
args:
- "-c"
- |
echo 'options use-vc' >> /etc/resolv.conf
fence-create expired-service-account-delete
if [[ $? != 0 ]]; then
echo "WARNING: non zero exit code: $?"
Expand Down
1 change: 1 addition & 0 deletions kube/services/jobs/google-init-proxy-groups-cronjob.yaml
Expand Up @@ -105,6 +105,7 @@ spec:
args:
- "-c"
- |
echo 'options use-vc' >> /etc/resolv.conf
fence-create google-init
if [[ $? != 0 ]]; then
echo "WARNING: non zero exit code: $?"
Expand Down
Expand Up @@ -99,6 +99,7 @@ spec:
args:
- "-c"
- |
echo 'options use-vc' >> /etc/resolv.conf
fence-create google-manage-account-access
if [[ $? != 0 ]]; then
echo "WARNING: non zero exit code: $?"
Expand Down
1 change: 1 addition & 0 deletions kube/services/jobs/google-manage-keys-cronjob.yaml
Expand Up @@ -99,6 +99,7 @@ spec:
args:
- "-c"
- |
echo 'options use-vc' >> /etc/resolv.conf
fence-create google-manage-keys
if [[ $? != 0 ]]; then
echo "WARNING: non zero exit code: $?"
Expand Down
Expand Up @@ -99,6 +99,7 @@ spec:
args:
- "-c"
- |
echo 'options use-vc' >> /etc/resolv.conf
fence-create bucket-access-group-verify
if [[ $? != 0 ]]; then
echo "WARNING: non zero exit code: $?"
Expand Down
1 change: 1 addition & 0 deletions kube/services/jobs/usersync-cronjob.yaml
Expand Up @@ -143,6 +143,7 @@ spec:
- "-c"
# Script always succeeds if it runs (echo exits with 0)
- |
echo 'options use-vc' >> /etc/resolv.conf
let count=0
while [[ ! -f /mnt/shared/user.yaml && $count -lt 50 ]]; do
echo "fence container waiting for /mnt/shared/user.yaml";
Expand Down

0 comments on commit 6e53183

Please sign in to comment.