Repository navigation
docs: docs(flash): Document which endpoints flash deploy gives RUNPOD_API_KEY - #916
Open
promptless[bot] wants to merge 1 commit into
Open
promptless[bot] wants to merge 1 commit into
promptless[bot] wants to merge 1 commit into
Conversation
…l other endpoints
Contributor
|
Preview deployment for your docs. Learn more about Mintlify Previews.
💡 Tip: Enable Automations to automatically generate PRs for you. |
This branch was successfully deployed
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Open in Promptless
Documents how
flash deployhandles the Runpod API key on deployed workers after runpod/flash#389.flash deployused to give every endpoint the deployer'sRUNPOD_API_KEY. It now adds the key only to endpoints thatflash builddetects calling other endpoints. On each deploy it also removes the key from endpoints that don't call others, including a key added in the Runpod console. If a call goes undetected, it fails at runtime with401 Unauthorized. None of this was documented.flash/apps/deploy-apps.mdx: new "API key for endpoints that call other endpoints" subsection under "Cross-endpoint communication". It covers which code patternsflash builddetects, the deploy summary line, stale-key removal and its exceptions (a key set inenv, shared templates), the one-time worker rollout after upgrading, and setting the key inenvfor customEndpoint(image=...)endpoints.flash/troubleshooting.mdx: new "Missing API key on a worker" entry for the401/RUNPOD_API_KEY is not set on this workererror.Verification: I checked the claims against the merged head of runpod/flash#389 (
scanner.py,deployment.py,serverless.py,endpoint.py,deploy.py, and the updateddocs/Cross_Endpoint_Routing.md). Vale reports no new errors. The two new warnings areGoogle.Colonson the bold Label: pattern that the troubleshooting page already uses throughout.Trigger Events
Tip: Request one-off documentation tasks in the Dashboard under New Task 🚀