hashi-up icon indicating copy to clipboard operation
hashi-up copied to clipboard

Consul config field deprecations

Open Demivan opened this issue 2 years ago • 0 comments

After starting Consul there are deprecation warnings in the log:

agent: The 'ca_file' field is deprecated. Use the 'tls.defaults.ca_file' field instead.
agent: The 'cert_file' field is deprecated. Use the 'tls.defaults.cert_file' field instead.
agent: The 'key_file' field is deprecated. Use the 'tls.defaults.key_file' field instead.
agent: The 'verify_incoming_rpc' field is deprecated. Use the 'tls.internal_rpc.verify_incoming' field instead.
agent: The 'verify_outgoing' field is deprecated. Use the 'tls.defaults.verify_outgoing' field instead.
agent: The 'verify_server_hostname' field is deprecated. Use the 'tls.internal_rpc.verify_server_hostname' field instead.
agent: The 'ui' field is deprecated. Use the 'ui_config.enabled' field instead.

It works right now, but probably need to update generated config before those config options are removed.

consul -v:

Consul v1.14.2
Revision 0ba7a401
Build Date 2022-11-30T19:54:31Z
Protocol 2 spoken by default, understands 2 to 3 (agent will automatically use protocol >2 when speaking to compatible agents)

https://developer.hashicorp.com/consul/docs/agent/config/config-files#tls_deprecated_options

Demivan avatar Dec 06 '22 19:12 Demivan