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

Consul config field deprecations #41

Open
Demivan opened this issue Dec 6, 2022 · 0 comments
Open

Consul config field deprecations #41

Demivan opened this issue Dec 6, 2022 · 0 comments

Comments

@Demivan
Copy link

Demivan commented Dec 6, 2022

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 Demivan changed the title Consul config option deprecations Consul config field deprecations Dec 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant