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

Add warning to backup/restore when pod with multiple containers with different securityContexts mount the same volume. #14

Open
kaovilai opened this issue Apr 12, 2023 · 1 comment
Assignees

Comments

@kaovilai
Copy link
Member

migtools/volume-snapshot-mover#205

@kaovilai kaovilai changed the title Add warning to backup/restore when multiple UID/GID is detected per volume mounted in pod. Add warning to backup/restore when multiple containers with different securityContexts mount the same volume. Apr 12, 2023
@kaovilai kaovilai changed the title Add warning to backup/restore when multiple containers with different securityContexts mount the same volume. Add warning to backup/restore when pod with multiple containers with different securityContexts mount the same volume. Apr 12, 2023
@kaovilai
Copy link
Member Author

https://github.com/vmware-tanzu/velero/blob/d298c6d0a2284d0e0444998efd3ad94472a312c2/pkg/controller/backup_controller.go#L728

Warnings for backup and restore are done via counting warning logs..

We would simply log.Warnf() the issue on backup/restore.

@eemcmullan eemcmullan self-assigned this Apr 24, 2023
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

No branches or pull requests

2 participants