Skip to content
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

Don't set envoy flag --max-obj-name-len #350

Merged
merged 1 commit into from
Oct 7, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,16 @@
## UNRELEASED

BREAKING CHANGES:
* Connect: No longer set `--max-obj-name-len` flag when executing `envoy`. This flag
was [deprecated](https://www.envoyproxy.io/docs/envoy/latest/version_history/v1.11.0#deprecated)
in Envoy 1.11.0 and had no effect from then onwards. With Envoy >= 1.15.0 setting
this flag will result in an error, hence why we're removing it. [[GH-350](https://github.com/hashicorp/consul-k8s/pull/350)]

If you are running any Envoy version >= 1.11.0 this change will have no effect. If you
are running an Envoy version < 1.11.0 then you must upgrade Envoy to a newer
version. This can be done by setting the `global.imageEnvoy` key in the
Consul Helm chart.

IMPROVEMENTS:

* Add an ability to configure the synthetic Consul node name where catalog sync registers services. [[GH-312](https://github.com/hashicorp/consul-k8s/pull/312)]
Expand Down
1 change: 0 additions & 1 deletion connect-inject/envoy_sidecar.go
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,6 @@ func (h *Handler) envoySidecar(pod *corev1.Pod, k8sNamespace string) (corev1.Con
},
Command: []string{
"envoy",
"--max-obj-name-len", "256",
"--config-path", "/consul/connect-inject/envoy-bootstrap.yaml",
},
}
Expand Down
1 change: 0 additions & 1 deletion connect-inject/envoy_sidecar_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ func TestHandlerEnvoySidecar(t *testing.T) {
require.NoError(err)
require.Equal(container.Command, []string{
"envoy",
"--max-obj-name-len", "256",
"--config-path", "/consul/connect-inject/envoy-bootstrap.yaml",
})

Expand Down