Skip to content

feat: add OUTPUT_DIR environment variable support to crd-extractor.sh #581

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

Merged
merged 1 commit into from
Jun 6, 2025

Conversation

ElanHasson
Copy link
Collaborator

Allow specifying a custom output directory for generated CRD schemas by setting the OUTPUT_DIR environment variable. This enables users to generate schemas in their current directory or any specified location instead of the default ~/.datree/crdSchemas.

Also updated the success message to show the actual output directory used and adjusted the example commands to use the correct path.

Allow specifying a custom output directory for generated CRD schemas
by setting the OUTPUT_DIR environment variable. This enables users to
generate schemas in their current directory or any specified location
instead of the default ~/.datree/crdSchemas.

Also updated the success message to show the actual output directory
used and adjusted the example commands to use the correct path.
@ElanHasson ElanHasson requested a review from eyarz May 28, 2025 05:18
@eyarz eyarz merged commit e9321de into main Jun 6, 2025
1 check passed
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

Successfully merging this pull request may close these issues.

2 participants