-
Notifications
You must be signed in to change notification settings - Fork 26
Volume and volumeMount refactoring #21
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
Conversation
|
@lmilleri can you create a new PR related to code refactoring? We can get that merged first and then review this one related to running trustee as non-privileged container |
| } | ||
|
|
||
| // RunAsUser (root) 0 | ||
| runAsUser := int64(0) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should be in a separate PR
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
actually I didn't remove those lines, you can find them at line 424
Added volumes.go Signed-off-by: Leonardo Milleri <[email protected]>
First create all the volumes and then decide which container should mount it as volumeMount. The code should be more readable and flexible. Signed-off-by: Leonardo Milleri <[email protected]>
bpradipt
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/lgtm
…references/main chore(deps): update konflux references to f951900
The code should be more readable and flexible.