-
Notifications
You must be signed in to change notification settings - Fork 564
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: relax extensions file structure validation
* allow empty directories (I see no harm in having them) * allow symlinks See also siderolabs/extensions#20 Signed-off-by: Andrey Smirnov <andrey.smirnov@talos-systems.com>
- Loading branch information
Showing
5 changed files
with
2 additions
and
35 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10 changes: 0 additions & 10 deletions
10
internal/pkg/extensions/testdata/bad/symlinks/manifest.yaml
This file was deleted.
Oops, something went wrong.
1 change: 0 additions & 1 deletion
1
internal/pkg/extensions/testdata/bad/symlinks/rootfs/usr/local/b
This file was deleted.
Oops, something went wrong.
1 change: 1 addition & 0 deletions
1
internal/pkg/extensions/testdata/good/extension1/rootfs/usr/local/lib/a.so.1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
a.so |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters