You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/capi-remote.md
+34-1Lines changed: 34 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -281,4 +281,37 @@ spec:
281
281
- "echo 'Custom cleanup completed'"
282
282
```
283
283
284
-
`useSudo`field will be respected for `customCleanUpCommands` to execute the commands with elevated privileges if needed.
284
+
`useSudo`field will be respected for `customCleanUpCommands` to execute the commands with elevated privileges if needed.
285
+
286
+
Another way to provide custom cleanup logic is to create a script on the machine using `files` and then reference that script in `customCleanUpCommands`. For example:
0 commit comments