Skip to content

Commit

Permalink
[Elastic Agent] Deprecate kibana-url param (elastic#25364)
Browse files Browse the repository at this point in the history
The kibana-url param should not be used anymore and is replaced by --url. The flag should be full removed for 7.14. This PR marks it as deprecated and updates the description.
  • Loading branch information
ruflin authored Apr 28, 2021
1 parent 4c9fd79 commit 87a8c85
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion x-pack/elastic-agent/pkg/agent/cmd/enroll.go
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ func newEnrollCommandWithArgs(_ []string, streams *cli.IOStreams) *cobra.Command

func addEnrollFlags(cmd *cobra.Command) {
cmd.Flags().StringP("url", "", "", "URL to enroll Agent into Fleet")
cmd.Flags().StringP("kibana-url", "k", "", "URL of Kibana to enroll Agent into Fleet")
cmd.Flags().StringP("kibana-url", "k", "", "URL of Fleet-Server to enroll Agent into Fleet-Server (deprecated)")
cmd.Flags().StringP("enrollment-token", "t", "", "Enrollment token to use to enroll Agent into Fleet")
cmd.Flags().StringP("fleet-server-es", "", "", "Start and run a Fleet Server along side this Elastic Agent connecting to the provided elasticsearch")
cmd.Flags().StringP("fleet-server-es-ca", "", "", "Path to certificate authority to use with communicate with elasticsearch")
Expand Down

0 comments on commit 87a8c85

Please sign in to comment.