v0.24.0
0.24.0 (February 16, 2021)
BREAKING CHANGES
-
Connect: the
lifecycle-sidecar
command has been renamed toconsul-sidecar
. [GH-428] -
Connect: the
consul-connect-lifecycle-sidecar
container name has been changed toconsul-sidecar
and theconsul-connect-envoy-sidecar
container name has been changed toenvoy-sidecar
.
[GH-428] -
Connect: the
-default-protocol
and-enable-central-config
flags are no longer supported.
Theconsul.hashicorp.com/connect-service-protocol
annotation on Connect pods is also
no longer supported. [GH-418]Current deployments that have the annotation should remove it, otherwise they
will get an error if a pod from that deployment is rescheduled.Removing the annotation will not change their protocol
since the config entry was already written to Consul. If you wish to change
the protocol you must migrate the config entry to be managed by a
ServiceDefaults
resource.
See Upgrade to CRDs for more
information.To set the protocol for new services, you must use the
ServiceDefaults
resource,
e.g.apiVersion: consul.hashicorp.com/v1alpha1 kind: ServiceDefaults metadata: name: my-service-name spec: protocol: "http"
-
Connect: pods using an upstream that references a datacenter, e.g.
consul.hashicorp.com/connect-service-upstreams: service:8080:dc2
will
error during injection if Consul does not have aproxy-defaults
config entry
with a mesh gateway mode
set tolocal
orremote
. [GH-421]In practice, this would have already been causing issues since without that
config setting, traffic wouldn't have been routed through mesh gateways and
so would not be actually making it to the other service.
FEATURES:
- CRDs: support annotation
consul.hashicorp.com/migrate-entry
on custom resources
that will allow an existing config entry to be migrated onto a Kubernetes custom resource. [GH-419] - Connect: add new cleanup controller that runs in the connect-inject deployment. This
controller cleans up Consul service instances that remain registered despite their
pods being deleted. This could happen if the pod'spreStop
hook failed to execute
for some reason. [GH-433]
IMPROVEMENTS: