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

Set readOnlyRootFilesystem: true on control plane / jaeger / multicluster #11221

Merged
merged 4 commits into from
Aug 15, 2023

Conversation

mikutas
Copy link
Contributor

@mikutas mikutas commented Aug 8, 2023

Fixes #11142

@mikutas mikutas marked this pull request as ready for review August 8, 2023 13:48
@mikutas mikutas requested a review from a team as a code owner August 8, 2023 13:48
Copy link
Member

@alpeb alpeb left a comment

Choose a reason for hiding this comment

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

Thanks again @mikutas !

While you're at it, could you also take into account the jaeger and multicluster extensions here as well?

Also, I think the CNI network validator (_network-validator.tpl) doesn't require filesystem writing access neither; can you please give a try at adding this restriction in there as well?

@mikutas mikutas requested a review from alpeb August 9, 2023 12:39
@mikutas mikutas changed the title Set readOnlyRootFilesystem: true on control plane Set readOnlyRootFilesystem: true on control plane / jaeger / multicluster Aug 10, 2023
@alpeb alpeb merged commit 51214c0 into linkerd:main Aug 15, 2023
34 checks passed
@mikutas mikutas deleted the 11142-controlplane branch August 16, 2023 05:31
alpeb added a commit that referenced this pull request Aug 16, 2023
This is a release candidate for stable-2.14.0; we encourage you to help trying
it out!

This edge release contains a number of improvements over the multi-cluster
features introduced in the last edge release supporting flat networks. It also
hardens the containers security stance by removing write access to the root
filesystem.

* Enhanced `linkerd multicluster link` to allow clusters to be linked without a
  gateway ([#11226])
* Added cluster store size gauge metric ([#11256])
* Disabled local traffic policy for remote discovery ([#11257])
* Fixed various innocuous multi-cluster warnings ([#11251], [#11246], [#11253])
* Set `readOnlyRootFilesystem: true` in all the containers, as they don't
  require write permissions ([#11221]; fixes [#11142]) (thanks @mikutas!)
@alpeb alpeb mentioned this pull request Aug 16, 2023
alpeb added a commit that referenced this pull request Aug 16, 2023
This is a release candidate for stable-2.14.0; we encourage you to help trying
it out!

This edge release contains a number of improvements over the multi-cluster
features introduced in the last edge release supporting flat networks. It also
hardens the containers security stance by removing write access to the root
filesystem.

* Enhanced `linkerd multicluster link` to allow clusters to be linked without a
  gateway ([#11226])
* Added cluster store size gauge metric ([#11256])
* Disabled local traffic policy for remote discovery ([#11257])
* Fixed various innocuous multi-cluster warnings ([#11251], [#11246], [#11253])
* Set `readOnlyRootFilesystem: true` in all the containers, as they don't
  require write permissions ([#11221]; fixes [#11142]) (thanks @mikutas!)
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

Successfully merging this pull request may close these issues.

Set readOnlyRootFilesystem: true on control plane and plugin components
3 participants