Overview
The Vault 1.18.x upgrade guide contains information on deprecations, important or breaking changes, and remediation recommendations for anyone upgrading from Vault 1.17. Please read carefully.
Important changes
Activity Log Changes
Default Activity Log Querying Period
The field default_report_months
can no longer be configured or read. Any previously set values
will be ignored by the system.
Attempts to modify default_report_months
through the
/sys/internal/counters/config
endpoint, will result in the following warning from Vault:
The current_billing_period
toggle for /sys/internal/counters/activity
is also deprecated, as this will be set
true by default.
Attempts to set current_billing_period
will result in the following warning from Vault:
Docker image no longer contains curl
The curl
binary is no longer included in the published Docker container images for Vault and Vault
Enterprise. If your workflow depends on curl
being available in the container, consider one of the
following strategies:
Create a wrapper container image
Use the HashiCorp image as a base image to create a new container image with curl
installed.
NOTE: While this is the preferred option it will require managing your own registry and rebuilding new images.
Install it at runtime dynamically
When running the image as root (not recommended), you can install it at runtime dynamically by using the apk
package manager:
When running the image as non-root without privilege escalation (recommended) you can use existing
tools to install a static binary of curl
into the vault
users home directory:
NOTE: When using this option you'll want to verify that the static binary comes from a trusted source.
Request limiter configuration removal
Vault 1.16.0 included an experimental request limiter. The limiter was disabled
by default with an opt-in request_limiter
configuration.
Further testing indicated that an alternative approach improves performance and reduces risk for many workloads. Vault 1.17.0 included a new adaptive overload protection feature that prevents outages when Vault is overwhelmed by write requests.
Adaptive overload protection was a beta feature in 1.17.0.
As of Vault 1.18.0, the adaptive overload protection feature for writes is now GA and enabled by default for the integrated storage backend.
The beta request_limiter
configuration stanza is officially removed in Vault 1.18.0.
Vault will output two types of warnings if the request_limiter
stanza is
detected in your Vault config.
- A UI warning message printed to
stderr
:
- A log line with level
WARN
, appearing in Vault's logs: