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

Allow mountPropagation configuration by merging the helper Pod template's volumeMount #176

Merged

Conversation

mgoltzsche
Copy link
Contributor

@mgoltzsche mgoltzsche commented Mar 6, 2021

The helper Pod template's data volumeMount is merged with the defaults in order to allow users to specify the mountPropagation within the template.

Split from PR #166.
Closes #165.
Relates to #127.

@mgoltzsche mgoltzsche force-pushed the make_mount_propagation_configurable branch 9 times, most recently from 67744ad to b4d21da Compare March 6, 2021 19:56
@mgoltzsche mgoltzsche changed the title Merge Pod template's volumeMount + add env vars. Merge Pod template's volumeMount - allow mountPropagation configuration Mar 6, 2021
@mgoltzsche mgoltzsche force-pushed the make_mount_propagation_configurable branch from b4d21da to e4bc223 Compare March 6, 2021 20:03
@mgoltzsche mgoltzsche changed the title Merge Pod template's volumeMount - allow mountPropagation configuration Allow mountPropagation configuration by merging the helper Pod template's volumeMount Mar 6, 2021
@mgoltzsche mgoltzsche force-pushed the make_mount_propagation_configurable branch from e4bc223 to 7049c8e Compare March 6, 2021 22:10
@mgoltzsche
Copy link
Contributor Author

mgoltzsche commented Mar 6, 2021

hm, the e2e test TestPVCTestSuite/TestPodWithSecurityContext fails.
For some reason the local-path-test Pod has no permissions to write into the volume and logs:

uid=1000(jenkins) gid=1000(jenkins) groups=1000(jenkins)
total 8
drwxr-xr-x 2 root root 4096 Mar  6 22:18 .
drwxr-xr-x 1 root root 4096 Mar  6 22:18 ..
Hello from local-path-test
cp: cannot create regular file '/test/test.txt': Permission denied

I ll look into it some other day...

@mgoltzsche mgoltzsche marked this pull request as draft March 7, 2021 03:40
@mgoltzsche mgoltzsche force-pushed the make_mount_propagation_configurable branch from 7049c8e to 6a36c3b Compare March 7, 2021 21:29
The helper Pod template's `data` volumeMount is merged with the defaults in order to allow users to specify the `mountPropagation` within the template.

Closes rancher#165

Signed-off-by: Max Goltzsche <[email protected]>
@mgoltzsche mgoltzsche force-pushed the make_mount_propagation_configurable branch from 6a36c3b to 0dcef18 Compare March 7, 2021 21:39
@mgoltzsche mgoltzsche marked this pull request as ready for review March 7, 2021 21:52
@mgoltzsche
Copy link
Contributor Author

Fixed. This is ready for review now.

@pzeinlinger
Copy link

Can we get this change merged anytime soon?

@derekbit
Copy link
Member

derekbit commented Mar 3, 2022

Can we get this change merged anytime soon?

Thanks for the notification. I will review it.

@pzeinlinger
Copy link

Hi @derekbit
have you had a chance to review this PR yet?

Copy link
Member

@derekbit derekbit left a comment

Choose a reason for hiding this comment

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

LGTM

@derekbit derekbit merged commit 8658846 into rancher:master Mar 16, 2022
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.

Allow to configure helper Pod's data volume mount propagation
3 participants