Skip to content
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

Support symbolic links when using --file arg #5353

Open
eleftherias opened this issue Jan 24, 2025 · 0 comments
Open

Support symbolic links when using --file arg #5353

eleftherias opened this issue Jan 24, 2025 · 0 comments

Comments

@eleftherias
Copy link
Contributor

Please describe the enhancement

To create a data source, rule type or profile, we pass a filename as a argument, eg minder ruletype create --file path/to/fiile.yaml

If the file is a symbolic link which points to another file, then the Minder CLI fails with the message no such file or directory.

We should support these types of files and instead of failing we should follow the symlink.

Solution Proposal

Follow the symlink and create the resource that the link points to.

Describe alternatives you've considered

No response

Additional context

No response

Acceptance Criteria

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant