-
Notifications
You must be signed in to change notification settings - Fork 2
chore(promotion): reconcile 21 submodule gitlinks and pmoves worktree deltas #1926
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
POWERFULMOVES
merged 6 commits into
main
from
chore/submodule-gitlink-promotion-2026-07-01
Jul 1, 2026
Merged
Changes from all commits
Commits
Show all changes
6 commits
Select commit
Hold shift + click to select a range
43c1c14
fix(compose): kong entrypoint without nc and core alignment
68bb415
fixup(compose): use /bin/bash in Kong entrypoint
9b1cc70
chore(submodules): promote 21 submodule gitlinks
f602afa
chore(promotion): apply pending pmoves worktree deltas
d5598cd
chore(promotion): reconcile 21 submodule gitlinks + worktree deltas (…
50bedb6
chore(promotion): reconcile pending pmoves worktree deltas + Kong ent…
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,283 @@ | ||
| _format_version: '2.1' | ||
| _transform: true | ||
|
|
||
| ### | ||
| ### Consumers / Users | ||
| ### | ||
| consumers: | ||
| - username: DASHBOARD | ||
| - username: anon | ||
| keyauth_credentials: | ||
| - key: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJyb2xlIjoiYW5vbiIsImlzcyI6InN1cGFiYXNlLWxvY2FsIiwiaWF0IjoxNjQxNzY5MjAwLCJleHAiOjE3OTk1MzU2MDB9.48Wyyv4HsidRQxDOwjBwbyYyya3BolhA8zdqg2VC3ys | ||
| - username: service_role | ||
| keyauth_credentials: | ||
| - key: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJhdWQiOlsic2VydmljZV9yb2xlIl0sImV4cCI6MTc5MjU1NTQyMywiaWF0IjoxNzYxMDE5NDIzLCJpc3MiOiJzdXBhYmFzZSIsInJvbGUiOiJzZXJ2aWNlX3JvbGUifQ.mWGd-dmPTYbv0yG6UCXKiAgFQK5flQCvRV5Pm8DgLDY | ||
|
|
||
| ### | ||
| ### Access Control List | ||
| ### | ||
| acls: | ||
| - consumer: anon | ||
| group: anon | ||
| - consumer: service_role | ||
| group: admin | ||
|
|
||
| ### | ||
| ### Dashboard credentials | ||
| ### | ||
| basicauth_credentials: | ||
| - consumer: DASHBOARD | ||
| username: 'admin' | ||
| password: 'pmoves-dashboard-local' | ||
|
|
||
| ### | ||
| ### API Routes | ||
| ### | ||
| services: | ||
| ## Open Auth routes | ||
| - name: auth-v1-open | ||
| url: http://auth:9999/verify | ||
| routes: | ||
| - name: auth-v1-open | ||
| strip_path: true | ||
| paths: | ||
| - /auth/v1/verify | ||
| plugins: | ||
| - name: cors | ||
| - name: auth-v1-open-callback | ||
| url: http://auth:9999/callback | ||
| routes: | ||
| - name: auth-v1-open-callback | ||
| strip_path: true | ||
| paths: | ||
| - /auth/v1/callback | ||
| plugins: | ||
| - name: cors | ||
| - name: auth-v1-open-authorize | ||
| url: http://auth:9999/authorize | ||
| routes: | ||
| - name: auth-v1-open-authorize | ||
| strip_path: true | ||
| paths: | ||
| - /auth/v1/authorize | ||
| plugins: | ||
| - name: cors | ||
|
|
||
| ## Secure Auth routes | ||
| - name: auth-v1 | ||
| _comment: 'GoTrue: /auth/v1/* -> http://auth:9999/*' | ||
| url: http://auth:9999/ | ||
| routes: | ||
| - name: auth-v1-all | ||
| strip_path: true | ||
| paths: | ||
| - /auth/v1/ | ||
| plugins: | ||
| - name: cors | ||
| - name: key-auth | ||
| config: | ||
| hide_credentials: false | ||
| - name: acl | ||
| config: | ||
| hide_groups_header: true | ||
| allow: | ||
| - admin | ||
| - anon | ||
|
|
||
| ## Secure REST routes | ||
| - name: rest-v1 | ||
| _comment: 'PostgREST: /rest/v1/* -> http://rest:3000/*' | ||
| url: http://rest:3000/ | ||
| routes: | ||
| - name: rest-v1-all | ||
| strip_path: true | ||
| paths: | ||
| - /rest/v1/ | ||
| plugins: | ||
| - name: cors | ||
| - name: key-auth | ||
| config: | ||
| hide_credentials: true | ||
| - name: acl | ||
| config: | ||
| hide_groups_header: true | ||
| allow: | ||
| - admin | ||
| - anon | ||
|
|
||
| ## Secure GraphQL routes | ||
| - name: graphql-v1 | ||
| _comment: 'PostgREST: /graphql/v1/* -> http://rest:3000/rpc/graphql' | ||
| url: http://rest:3000/rpc/graphql | ||
| routes: | ||
| - name: graphql-v1-all | ||
| strip_path: true | ||
| paths: | ||
| - /graphql/v1 | ||
| plugins: | ||
| - name: cors | ||
| - name: key-auth | ||
| config: | ||
| hide_credentials: true | ||
| - name: request-transformer | ||
| config: | ||
| add: | ||
| headers: | ||
| - Content-Profile:graphql_public | ||
| - name: acl | ||
| config: | ||
| hide_groups_header: true | ||
| allow: | ||
| - admin | ||
| - anon | ||
|
|
||
| ## Secure Realtime routes | ||
| - name: realtime-v1-ws | ||
| _comment: 'Realtime: /realtime/v1/* -> ws://realtime:4000/socket/*' | ||
| url: http://realtime-dev.supabase-realtime:4000/socket | ||
| protocol: ws | ||
| routes: | ||
| - name: realtime-v1-ws | ||
| strip_path: true | ||
| paths: | ||
| - /realtime/v1/ | ||
| plugins: | ||
| - name: cors | ||
| - name: key-auth | ||
| config: | ||
| hide_credentials: false | ||
| - name: acl | ||
| config: | ||
| hide_groups_header: true | ||
| allow: | ||
| - admin | ||
| - anon | ||
| - name: realtime-v1-rest | ||
| _comment: 'Realtime: /realtime/v1/* -> ws://realtime:4000/socket/*' | ||
| url: http://realtime-dev.supabase-realtime:4000/api | ||
| protocol: http | ||
| routes: | ||
| - name: realtime-v1-rest | ||
| strip_path: true | ||
| paths: | ||
| - /realtime/v1/api | ||
| plugins: | ||
| - name: cors | ||
| - name: key-auth | ||
| config: | ||
| hide_credentials: false | ||
| - name: acl | ||
| config: | ||
| hide_groups_header: true | ||
| allow: | ||
| - admin | ||
| - anon | ||
| ## Storage routes: the storage server manages its own auth | ||
| - name: storage-v1 | ||
| _comment: 'Storage: /storage/v1/* -> http://storage:5000/*' | ||
| url: http://storage:5000/ | ||
| routes: | ||
| - name: storage-v1-all | ||
| strip_path: true | ||
| paths: | ||
| - /storage/v1/ | ||
| plugins: | ||
| - name: cors | ||
|
|
||
| ## Edge Functions routes | ||
| - name: functions-v1 | ||
| _comment: 'Edge Functions: /functions/v1/* -> http://functions:9000/*' | ||
| url: http://functions:9000/ | ||
| routes: | ||
| - name: functions-v1-all | ||
| strip_path: true | ||
| paths: | ||
| - /functions/v1/ | ||
| plugins: | ||
| - name: cors | ||
|
|
||
| ## Analytics routes | ||
| - name: analytics-v1 | ||
| _comment: 'Analytics: /analytics/v1/* -> http://logflare:4000/*' | ||
| url: http://analytics:4000/ | ||
| routes: | ||
| - name: analytics-v1-all | ||
| strip_path: true | ||
| paths: | ||
| - /analytics/v1/ | ||
|
|
||
| ## Secure Database routes | ||
| - name: meta | ||
| _comment: 'pg-meta: /pg/* -> http://pg-meta:8080/*' | ||
| url: http://meta:8080/ | ||
| routes: | ||
| - name: meta-all | ||
| strip_path: true | ||
| paths: | ||
| - /pg/ | ||
| plugins: | ||
| - name: key-auth | ||
| config: | ||
| hide_credentials: false | ||
| - name: acl | ||
| config: | ||
| hide_groups_header: true | ||
| allow: | ||
| - admin | ||
|
|
||
| ## Block access to /api/mcp | ||
| - name: mcp-blocker | ||
| _comment: 'Block direct access to /api/mcp' | ||
| url: http://studio:3000/api/mcp | ||
| routes: | ||
| - name: mcp-blocker-route | ||
| strip_path: true | ||
| paths: | ||
| - /api/mcp | ||
| plugins: | ||
| - name: request-termination | ||
| config: | ||
| status_code: 403 | ||
| message: "Access is forbidden." | ||
|
|
||
| ## MCP endpoint - local access | ||
| - name: mcp | ||
| _comment: 'MCP: /mcp -> http://studio:3000/api/mcp (local access)' | ||
| url: http://studio:3000/api/mcp | ||
| routes: | ||
| - name: mcp | ||
| strip_path: true | ||
| paths: | ||
| - /mcp | ||
| plugins: | ||
| # Block access to /mcp by default | ||
| - name: request-termination | ||
| config: | ||
| status_code: 403 | ||
| message: "Access is forbidden." | ||
| # Enable local access (danger zone!) | ||
| # 1. Comment out the 'request-termination' section above | ||
| # 2. Uncomment the entire section below, including 'deny' | ||
| # 3. Add your local IPs to the 'allow' list | ||
| #- name: cors | ||
| #- name: ip-restriction | ||
| # config: | ||
| # allow: | ||
| # - 127.0.0.1 | ||
| # - ::1 | ||
| # deny: [] | ||
|
|
||
| ## Protected Dashboard - catch all remaining routes | ||
| - name: dashboard | ||
| _comment: 'Studio: /* -> http://studio:3000/*' | ||
| url: http://studio:3000/ | ||
| routes: | ||
| - name: dashboard-all | ||
| strip_path: true | ||
| paths: | ||
| - / | ||
| plugins: | ||
| - name: cors | ||
| - name: basic-auth | ||
| config: | ||
| hide_credentials: true | ||
Oops, something went wrong.
Oops, something went wrong.
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.
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.
🔒 Security & Privacy | 🔴 Critical | 🏗️ Heavy lift
Remove committed Kong credentials and rotate these keys.
The committed anon/service-role JWTs and dashboard password make the generated gateway config a reusable credential bundle. Generate this config from the secrets funnel at deploy time instead of committing live values, then rotate the exposed JWT signing material and dashboard password. As per path instructions, use CHIT handoff safe mode with no cleartext for secret handoffs.
Also applies to: 28-31
🧰 Tools
🪛 Betterleaks (1.6.0)
[high] 11-11: Uncovered a JSON Web Token, which may lead to unauthorized access to web applications and sensitive user data.
(jwt)
[high] 14-14: Uncovered a JSON Web Token, which may lead to unauthorized access to web applications and sensitive user data.
(jwt)
🤖 Prompt for AI Agents
Sources: Path instructions, Linters/SAST tools