Skip to content

fix(chart): resolve Dex OIDC issuer URL mismatch in development mode#2838

Merged
migmartri merged 1 commit into
chainloop-dev:mainfrom
migmartri:fix-deployment-dex
Mar 11, 2026
Merged

fix(chart): resolve Dex OIDC issuer URL mismatch in development mode#2838
migmartri merged 1 commit into
chainloop-dev:mainfrom
migmartri:fix-deployment-dex

Conversation

@migmartri

Copy link
Copy Markdown
Member

Summary

  • Fix Dex OIDC issuer URL producing chainloop-dex-dex instead of chainloop-dex when running with --set development=true
  • Remove redundant -dex suffix from the Dex external URL template since chainloop.dex.fullname already resolves to chainloop-dex
  • Fix parent chart's $dexContext to use a synthetic chart name (dex) so common.names.fullname resolves to chainloop-dex consistently across both subchart and parent chart contexts

Fixes #2837

When installing with --set development=true, the controlplane panics
because the OIDC issuer URL doesn't match what Dex reports
(chainloop-dex-dex vs chainloop-dex). Remove redundant -dex suffix from
the Dex external URL template and fix the parent chart's dexContext to
use a synthetic chart name so common.names.fullname resolves correctly.

Fixes chainloop-dev#2837

Signed-off-by: Miguel Martinez <miguel@chainloop.dev>
Entire-Checkpoint: 07412b504e7d

@cubic-dev-ai cubic-dev-ai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No issues found across 4 files

@matiasinsaurralde matiasinsaurralde left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@migmartri migmartri merged commit c0de9a9 into chainloop-dev:main Mar 11, 2026
15 checks 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.

Controlplane panics on startup with development=true due to Dex OIDC issuer URL mismatch

2 participants