Repository navigation
feat: dex as app - #3914
Open
dennisvankekem wants to merge 4 commits into
Open
feat: dex as app#3914dennisvankekem wants to merge 4 commits into
dennisvankekem wants to merge 4 commits into
Conversation
dennisvankekem
requested review from
Ani1357,
CasLubbers,
ferruhcihan,
j-zimnowoda and
merll
as code owners
November 30, 2026 13:43
This was referenced Nov 30, 2026
Contributor
|
Comparison of Helm chart templating output: # otomi-api/templates/configmap.yaml
@@ data.VERSIONS @@
! ± value change in multiline text (one insert, one deletion)
{
"api": "main",
"aplCharts": "main",
"console": "main",
"consoleLogin": "main",
"core": "main",
"gitServer": "v0.3.2",
- "specVersion": 77,
+ "specVersion": 78,
"tasks": "main",
"tools": "main",
"tty": "v2.0.0"
}
# otomi-api/templates/core-config.yaml
@@ data.core.yaml @@
! ± value change in multiline text (two inserts, no deletions)
adminApps:
- deps:
- prometheus
name: alertmanager
[15 lines unchanged)]
- tls
- name: cnpg
tags:
- database
+ - name: dex
+ tags:
+ - auth
+ - sso
- isShared: true
name: tty
ownHost: true
tags:
[190 lines unchanged)]
- https://cloudnative-pg.io/plugin-barman-cloud/docs/intro/
- https://www.postgresql.org/
repo: https://github.com/cloudnative-pg/cloudnative-pg
title: CloudNativePG
+ dex:
+ about: Dex is an OpenID Connect identity provider that supports authentication
+ through external identity providers.
+ appVersion: 2.46.0
+ dependencies: None
+ integration: App Platform can use Dex as its authentication provider, configured
+ through the platform OIDC settings.
+ license: Apache 2.0
+ maintainers: Dex contributors
+ relatedLinks:
+ - https://dexidp.io/docs/
+ repo: https://github.com/dexidp/dex
+ title: Dex
external-dns:
about: ExternalDNS synchronizes exposed Kubernetes Services and Ingresses with
DNS providers.
appVersion: 0.21.0
[407 lines unchanged)]
path: /explore?orgId=1&left=%7B"datasource":"loki","queries":%5B%7B"refId":"A","expr":"","queryType":"range","datasource":%7B"type":"loki","uid":"loki"%7D%7D%5D,"range":%7B"from":"now-1h","to":"now"%7D%7D
useHost: grafana
- name: tekton
ownHost: true
# otomi-api/templates/deployment.yaml
# rabbitmq-cluster-operator/templates/messaging-topology-operator/validating-webhook-configuration.yaml
# values-repo.yaml
@@ versions.specVersion @@
! ± value change
- 77
+ 78
|
Contributor
There was a problem hiding this comment.
🟢 Approval recommended
No active review issues remain for the Dex app registration and configuration migration.
No open issues 🎉
What changed in this PR
This PR registers Dex as an admin app in APL Core and adds a migration to initialize its configuration without overwriting existing settings.
Changes:
- Adds Dex to the admin app catalog with authentication metadata.
- Introduces migration version 78, creating a disabled Dex configuration only when absent.
- Adds migration tests and advances the fixture specification version to 78.
| File | Description |
|---|---|
values-changes.yaml |
Registers the version 78 Dex migration. |
tests/fixtures/env/settings/versions.yaml |
Updates the fixture specification version to 78. |
src/cmd/migrate.ts |
Adds and registers the Dex configuration migration. |
src/cmd/migrate.test.ts |
Tests initialization, preservation, and migration persistence. |
core.yaml |
Lists Dex as an admin app with authentication tags. |
apps.yaml |
Adds Dex metadata and integration details. |
Review effort: Balanced
CasLubbers
reviewed
Dec 1, 2026
| } | ||
| } | ||
|
|
||
| export const addDexApp = async (values: Record<string, any>): Promise<void> => { |
Contributor
There was a problem hiding this comment.
This migration is not necessary. Dex is already set by default to disabled.
CasLubbers
requested changes
Dec 1, 2026
CasLubbers
left a comment
Contributor
There was a problem hiding this comment.
You can remove the migration and the tests created for it. This will fix the build too.
This branch has not been 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.
console: linode/apl-console#892
api: linode/apl-api#1145
core: #3914
📌 Summary
🔍 Reviewer Notes
🧹 Checklist