Browse Source

fix: add agent info reporting log (#17660)

Co-authored-by: Poonam Jadhav <poonam.jadhav@hashicorp.com>
pull/17700/head
hc-github-team-consul-core 1 year ago committed by GitHub
parent
commit
92ac5ebcf1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 3
      command/agent/agent.go

3
command/agent/agent.go

@ -261,6 +261,9 @@ func (c *cmd) run(args []string) int {
config.SerfPortLAN, config.SerfPortWAN))
ui.Info(fmt.Sprintf("Gossip Encryption: %t", config.EncryptKey != ""))
ui.Info(fmt.Sprintf(" Auto-Encrypt-TLS: %t", config.AutoEncryptTLS || config.AutoEncryptAllowTLS))
if config.ServerMode {
ui.Info(fmt.Sprintf(" Reporting Enabled: %t", config.Reporting.License.Enabled))
}
ui.Info(fmt.Sprintf(" HTTPS TLS: Verify Incoming: %t, Verify Outgoing: %t, Min Version: %s",
config.TLS.HTTPS.VerifyIncoming, config.TLS.HTTPS.VerifyOutgoing, config.TLS.HTTPS.TLSMinVersion))
ui.Info(fmt.Sprintf(" gRPC TLS: Verify Incoming: %t, Min Version: %s", config.TLS.GRPC.VerifyIncoming, config.TLS.GRPC.TLSMinVersion))

Loading…
Cancel
Save