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 sudofn injection into container #227

Merged

Conversation

james-nesbitt
Copy link
Contributor

  • allow connection objects to have a sudofn injected
  • if sudofn is set, then Connect won't try to detect it

Copy link
Contributor

@kke kke left a comment

Choose a reason for hiding this comment

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

Maybe for good measure replace the other c.sudofunc = assigns with a call to SetSudofn

@james-nesbitt james-nesbitt force-pushed the PRODENG-2744-allow-sudofn-inject branch from 0d51bc6 to e2eb795 Compare November 5, 2024 13:08
- allow connection objects to have a sudofn injected
- if sudofn is set, then Connect won't try to detect it

Signed-off-by: James Nesbitt <[email protected]>
@james-nesbitt james-nesbitt force-pushed the PRODENG-2744-allow-sudofn-inject branch from e2eb795 to c604d0a Compare November 6, 2024 06:46
@james-nesbitt
Copy link
Contributor Author

@kke I just want to do some testing on my implementation with this concept before you consider merging it. I will just turn this into a draft during that testing.

@james-nesbitt james-nesbitt marked this pull request as draft November 6, 2024 06:52
@james-nesbitt james-nesbitt marked this pull request as ready for review November 8, 2024 13:38
@kke kke merged commit b571b8a into k0sproject:release-0.x Nov 8, 2024
6 of 7 checks passed
james-nesbitt added a commit to Mirantis/mcc that referenced this pull request Nov 8, 2024
- host flag allows explicit sudo assign, preventing rig discovery

required rig k0sproject/rig#227

Signed-off-by: James Nesbitt <[email protected]>
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.

2 participants