Commit e5b0eb0
committed
fix: hold user volumes root mountpoint
This is a regression introduced in #12122 and #12141.
Without this, only `kubelet` holds `/var/mnt`, so on kubelet restart,
Talos tries to unmount it, cascading into unmount of all user volumes,
which shouldn't be the case.
Fixes #12797
Signed-off-by: Andrey Smirnov <andrey.smirnov@siderolabs.com>1 parent 8a0e797 commit e5b0eb0
File tree
2 files changed
+17
-0
lines changed- internal/app/machined/pkg/controllers/block
2 files changed
+17
-0
lines changedLines changed: 14 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
92 | 92 | | |
93 | 93 | | |
94 | 94 | | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
95 | 109 | | |
96 | 110 | | |
97 | 111 | | |
| |||
Lines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
82 | 82 | | |
83 | 83 | | |
84 | 84 | | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
85 | 88 | | |
86 | 89 | | |
87 | 90 | | |
| |||
0 commit comments