-
Notifications
You must be signed in to change notification settings - Fork 63
[RHIDP-11250] Address Special File Mounting Bug #152
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
[RHIDP-11250] Address Special File Mounting Bug #152
Conversation
Signed-off-by: Jordan Dubrick <jdubrick@redhat.com>
PR Reviewer Guide 🔍Here are some key observations to aid the review process:
|
PR TypeBug fix Description
|
| Relevant files | |||||
|---|---|---|---|---|---|
| Bug fix |
|
PR Code Suggestions ✨Explore these optional code suggestions:
|
|||||||||||||||
| # Vertex AI credentials (only used if ENABLE_VERTEX_AI=true) | ||
| # Set VERTEX_AI_CREDENTIALS_PATH in your .env file to your Google Cloud credentials JSON file path | ||
| - ${VERTEX_AI_CREDENTIALS_PATH:-/dev/null}:/app-root/credentials.json:Z | ||
| - ${VERTEX_AI_CREDENTIALS_PATH:-./developer-lightspeed/configs/extra-files/templates/placeholder.json}:/app-root/credentials.json:Z |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Suggestion: Mount credentials file read-only
| - ${VERTEX_AI_CREDENTIALS_PATH:-./developer-lightspeed/configs/extra-files/templates/placeholder.json}:/app-root/credentials.json:Z | |
| - ${VERTEX_AI_CREDENTIALS_PATH:-./developer-lightspeed/configs/extra-files/templates/placeholder.json}:/app-root/credentials.json:ro,Z |
Signed-off-by: Jordan Dubrick <jdubrick@redhat.com>
rm3l
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/lgtm
Description
/dev/nullas placeholder for the vertex mount as/dev/nullis a special file and can produce errors when being mounted. Also conflicts with:Zflagplaceholder.jsonthat can fill the role.Which issue(s) does this PR fix or relate to
PR acceptance criteria
How to test changes / Special notes to the reviewer