-
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
Add data-dir
to uninstall and killall scripts
#10473
Add data-dir
to uninstall and killall scripts
#10473
Conversation
data-dir
to uninstall and killall scripts
b615aba
to
e66e0e3
Compare
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.
don't forget to update the install script sha256sum file
e66e0e3
to
6e6fd3d
Compare
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #10473 +/- ##
==========================================
- Coverage 47.87% 41.53% -6.35%
==========================================
Files 177 177
Lines 14830 14830
==========================================
- Hits 7100 6159 -941
- Misses 6384 7492 +1108
+ Partials 1346 1179 -167
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
I think we're good to go, unfortunately I just merged another change to the install script so you'll need to rebase to fix the checksum conflict :( |
Signed-off-by: Jake Hyde <jakefhyde@gmail.com>
6e6fd3d
to
0cdc30f
Compare
No backports necessary, as install script is served off master |
centos7 is dead; merging |
Proposed Changes
Add
K3S_DATA_DIR
as an optional environment variable to thek3s-killall
andk3s-uninstall
script generation withininstall.sh
.Types of Changes
Bugfix
Verification
Installing K3s with a custom
data-dir
(not/var/lib/rancher/k3s
), and running the killall and uninstall scripts, verifying assets in/var/lib/rancher/k3s
are properly removed.Testing
This is not currently covered by testing, though I would be happy to write an integration test if need be.
Linked Issues
#10471
User-Facing Change
Further Comments