Repository navigation
fix(dev): run the local Dex container as the invoking user (cherry-pick #31246 for 3.6) - #31249
crenshaw-dev wants to merge 1 commit into
Conversation
argoproj#31246 for 3.6) gendexcfg now writes dist/dex.yaml with mode 0600. The Dex image runs as UID 1001, so on hosts where the developer's UID differs (1000 on most Linux machines) the Procfile's Dex container cannot read the bind-mounted config and exits with "open dex.yaml: permission denied". Run the container as the invoking user so it owns the file it reads, and keep the config private. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01BmNNrhr1ppk6BGLiqt6YdC Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the
|
Bundle ReportChanges will increase total bundle size by 12.81kB (0.11%) ⬆️. This is within the configured threshold ✅ Detailed changes
Affected Assets, Files, and Routes:view changes for bundle: argo-cd-ui-array-pushAssets Changed:
|
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## release-3.6 #31249 +/- ##
===============================================
- Coverage 72.94% 72.94% -0.01%
===============================================
Files 435 435
Lines 56447 56447
===============================================
- Hits 41178 41176 -2
- Misses 15269 15271 +2
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. |
Backport of #31246 to release-3.6. Applied by hand: this branch pins
ghcr.io/dexidp/dex:v2.46.0on the same Procfile line, so the cherry-pick conflicts on context only. That image also runs as UID 1001.gendexcfgwritesdist/dex.yamlwith mode0600on this branch too, so the local Dex container can't read it when the developer's UID isn't 1001. This runs the container as the invoking user.Checklist:
🤖 Generated with Claude Code
https://claude.ai/code/session_01BmNNrhr1ppk6BGLiqt6YdC