-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
Fix: Add $SUDO prefix to transactional-update commands in install script #10531
Fix: Add $SUDO prefix to transactional-update commands in install script #10531
Conversation
You need to update the install.sh.sha256sum
|
@dereknola Thanks for the hint, I have updated the checksum file as requested. |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #10531 +/- ##
==========================================
- Coverage 49.56% 43.50% -6.06%
==========================================
Files 179 179
Lines 14955 14955
==========================================
- Hits 7412 6506 -906
- Misses 6184 7254 +1070
+ Partials 1359 1195 -164
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
f382b86
to
1093cf0
Compare
This commit addresses an issue in the k3s install script where the transactional-update commands did not include the $SUDO variable. This omission caused the script to fail if sudo was not used. Adding the $SUDO prefix ensures that the script runs correctly in all environments. Signed-off-by: ChrisBeaker <christian.siebigteroth@suse.com> Signed-off-by: Derek Nola <derek.nola@suse.com>
This commit addresses an issue in the k3s install script where the transactional-update commands did not include the $SUDO variable. This omission caused the script to fail if sudo was not used. Adding the $SUDO prefix ensures that the script runs correctly in all environments. Signed-off-by: Derek Nola <derek.nola@suse.com>
1093cf0
to
8022d3e
Compare
…ipt (k3s-io#10531) * Fix: Add $SUDO prefix to transactional-update commands in install script This commit addresses an issue in the k3s install script where the transactional-update commands did not include the $SUDO variable. This omission caused the script to fail if sudo was not used. Adding the $SUDO prefix ensures that the script runs correctly in all environments. Signed-off-by: ChrisBeaker <christian.siebigteroth@suse.com> Signed-off-by: Derek Nola <derek.nola@suse.com>
Proposed Changes
This commit addresses an issue in the k3s install script where the transactional-update commands did not include the $SUDO variable. This omission caused the script to fail if sudo was not used. Adding the $SUDO prefix ensures that the script runs correctly in all environments.
Types of Changes
Bugfix
Verification
Aligned to existing commands already using sudo
Testing
Linked Issues
#10530
User-Facing Change
Further Comments