Skip to content

Remove username/password from elastic-agent#1423

Merged
michel-laterman merged 6 commits intoelastic:mainfrom
michel-laterman:agent-remove-username-password
Jan 6, 2022
Merged

Remove username/password from elastic-agent#1423
michel-laterman merged 6 commits intoelastic:mainfrom
michel-laterman:agent-remove-username-password

Conversation

@michel-laterman
Copy link
Copy Markdown
Contributor

@michel-laterman michel-laterman commented Dec 22, 2021

Remove username/password env vars for the elastic-agent as it is removed from use in fleet-server.
PRs:

deprecation PR: #1409

Issue: elastic/fleet-server#978
Closes: elastic/fleet-server#978

@michel-laterman michel-laterman added docs Improvements or additions to documentation Team:Elastic-Agent-Control-Plane Label for the Agent Control Plane team backport-8.0 Automated backport with mergify labels Dec 22, 2021
@michel-laterman michel-laterman requested a review from a team as a code owner December 22, 2021 20:56
@ghost
Copy link
Copy Markdown

ghost commented Dec 22, 2021

A documentation preview will be available soon:


// =============================================================================

// tag::es-username[]
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The es-username tag and es-password tag are not being removed as they are used by the standalone kubernetes config (i think for the agent to send data into es)


| (string) The basic authentication username used to connect to {kib} and enable {fleet}.
Overrides `KIBANA_USERNAME` when set.
| (string) The basic authentication username used to connect to {kib} and retrieve a `service_token` to enable {fleet}.
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@dedemorton, I've changed the behaviour of KIBANA_FLEET_USERNAME and ELASTICSEARCH_USERNAME with elastic/beats#29651, should I update the deprecation tags I added for 7.17 to reflect this?

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, if you don't mind. Thanks!

@jlind23
Copy link
Copy Markdown
Contributor

jlind23 commented Jan 6, 2022

@dedemorton @michel-laterman are we good to merge this PR then?

@dedemorton
Copy link
Copy Markdown
Contributor

No, just give me a little time today to do a proper review. Thanks!

Copy link
Copy Markdown
Contributor

@dedemorton dedemorton left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! Thanks for updating the docs.

@michel-laterman michel-laterman merged commit 44d199c into elastic:main Jan 6, 2022
@michel-laterman michel-laterman deleted the agent-remove-username-password branch January 6, 2022 19:39
mergify bot pushed a commit that referenced this pull request Jan 6, 2022
* Remove username/password from elastic-agent

* Remove broken references, add es-username/password for k8s

* Update to specify new behaviour

* fix swp file

* add k8s env vars

(cherry picked from commit 44d199c)
michel-laterman added a commit that referenced this pull request Jan 10, 2022
* Remove username/password from elastic-agent

* Remove broken references, add es-username/password for k8s

* Update to specify new behaviour

* fix swp file

* add k8s env vars

(cherry picked from commit 44d199c)

Co-authored-by: Michel Laterman <82832767+michel-laterman@users.noreply.github.com>
bmorelli25 pushed a commit to bmorelli25/observability-docs that referenced this pull request Apr 11, 2023
* Remove username/password from elastic-agent

* Remove broken references, add es-username/password for k8s

* Update to specify new behaviour

* fix swp file

* add k8s env vars
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport-8.0 Automated backport with mergify docs Improvements or additions to documentation Team:Elastic-Agent-Control-Plane Label for the Agent Control Plane team

Projects

None yet

Development

Successfully merging this pull request may close these issues.

fleet-server username/password authentication must be removed in 8.0

3 participants