-
Notifications
You must be signed in to change notification settings - Fork 324
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
agentless: Multi-cluster tproxy #1632
Changes from 12 commits
ef3811e
ffcf657
510b30e
a49ed22
151d4ae
d41540d
a6aefd9
3bf27a2
e4d3533
edd934f
9437b2c
a488a2c
0745e1e
486f1c4
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -31,10 +31,6 @@ func TestPeering_Connect(t *testing.T) { | |
t.Skipf("skipping this test because peering is not supported in version %v", cfg.ConsulVersion.String()) | ||
} | ||
|
||
if cfg.EnableTransparentProxy { | ||
t.Skipf("skipping because no t-proxy support") | ||
} | ||
|
||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. omg so this works??? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. yup! it works! 🎉 |
||
const staticServerPeer = "server" | ||
const staticClientPeer = "client" | ||
cases := []struct { | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -148,19 +148,6 @@ is passed to consul as a -config-file param on command line. | |
[ -n "${HOSTNAME}" ] && sed -Ei "s|HOSTNAME|${HOSTNAME?}|g" /consul/extra-config/extra-from-values.json | ||
{{- end -}} | ||
|
||
{{/* | ||
Sets up a list of recusor flags for Consul agents by iterating over the IPs of every nameserver | ||
in /etc/resolv.conf and concatenating them into a string of arguments that can be passed directly | ||
to the consul agent command. | ||
*/}} | ||
{{- define "consul.recursors" -}} | ||
recursor_flags="" | ||
for ip in $(cat /etc/resolv.conf | grep nameserver | cut -d' ' -f2) | ||
do | ||
recursor_flags="$recursor_flags -recursor=$ip" | ||
done | ||
{{- end -}} | ||
|
||
Comment on lines
-151
to
-163
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. YAYYYYY!!!! |
||
{{/* | ||
Create chart name and version as used by the chart label. | ||
*/}} | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This test fails sometimes because a pod with this name already exists, so making the names unique per test.