Skip to content
This repository has been archived by the owner on May 16, 2023. It is now read-only.

[6.8] [elasticsearch]: optionally disable SA token automount (#1300) #1391

Merged
merged 1 commit into from
Oct 11, 2021

Conversation

jmlrt
Copy link
Member

@jmlrt jmlrt commented Oct 7, 2021

Backports the following commits to 6.8:

ES has no direct interaction with the Kubernetes API, and as such, it
does not need a mounted service account token in its pods. By disabling
this automount, potential attackers cannot access the API on
behalf/through the Pod.

This commit allows users to opt out on SA token automount. It leaves the
current behaviour unchanged, to avoid breaking things.

Signed-off-by: Jorik Jonker <[email protected]>
@jmlrt jmlrt added the backport label Oct 7, 2021
@jmlrt
Copy link
Member Author

jmlrt commented Oct 7, 2021

jenkins test this please

@jmlrt jmlrt merged commit c4ff1b2 into elastic:6.8 Oct 11, 2021
@jmlrt jmlrt deleted the backport/6.8/pr-1300 branch October 11, 2021 09:21
@jmlrt jmlrt mentioned this pull request Dec 14, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants