kanidm (Fix): harbor OIDC callback on the public name #181

Merged
ginjiruu merged 1 commit from harbor-public into master 2026-11-21 01:41:23 +00:00
Owner

Companion to lab/clusters harbor-public (opened next). Harbor is public again: every cluster node mirror, the tf-runner image and app images pull from harbor.animeteamspeak.moe, and no node resolves the internal zone, so the #1759 isolation broke every fresh pull. Harbor OIDC builds its callback from externalURL, which is public again, so the kanidm harbor client allows https://harbor.animeteamspeak.moe/c/oidc/callback (and the launcher tile follows). The harbor provider keeps the internal URL (#178): it works, and the runner already trusts the lab CA. Merge order: this first, then the clusters PR, so SSO never sends a callback kanidm rejects.

Companion to lab/clusters harbor-public (opened next). Harbor is public again: every cluster node mirror, the tf-runner image and app images pull from harbor.animeteamspeak.moe, and no node resolves the internal zone, so the #1759 isolation broke every fresh pull. Harbor OIDC builds its callback from externalURL, which is public again, so the kanidm harbor client allows https://harbor.animeteamspeak.moe/c/oidc/callback (and the launcher tile follows). The harbor provider keeps the internal URL (#178): it works, and the runner already trusts the lab CA. **Merge order:** this first, then the clusters PR, so SSO never sends a callback kanidm rejects.
Collaborator

tf-controller plan output:


No changes. Your infrastructure matches the configuration.

OpenTofu has compared your real infrastructure against your configuration and
found no differences, so no changes are needed.

To apply this plan, please merge this pull request.

tf-controller plan output: ```hcl No changes. Your infrastructure matches the configuration. OpenTofu has compared your real infrastructure against your configuration and found no differences, so no changes are needed. ``` To apply this plan, please **merge** this pull request.
Collaborator

tf-controller plan output:


OpenTofu used the selected providers to generate the following execution
plan. Resource actions are indicated with the following symbols:
  ~ update in-place (current -> planned)

OpenTofu will perform the following actions:

  # kanidm_oauth2_basic.harbor will be updated in-place
  ~ resource "kanidm_oauth2_basic" "harbor" {
      ~ displayname   = "harbor.apps.caosh.int.animeteamspeak.moe" -> "harbor.animeteamspeak.moe"
        id            = "eaa855c8-c19e-4e6a-82e6-07eae06ddf92"
        name          = "harbor"
      ~ origin        = "https://harbor.apps.caosh.int.animeteamspeak.moe/" -> "https://harbor.animeteamspeak.moe/"
      ~ redirect_uris = [
          - "https://harbor.apps.caosh.int.animeteamspeak.moe/c/oidc/callback",
          + "https://harbor.animeteamspeak.moe/c/oidc/callback",
        ]
        # (1 unchanged attribute hidden)

        # (8 unchanged blocks hidden)
    }

Plan: 0 to add, 1 to change, 0 to destroy.

To apply this plan, please merge this pull request.

tf-controller plan output: ```hcl OpenTofu used the selected providers to generate the following execution plan. Resource actions are indicated with the following symbols: ~ update in-place (current -> planned) OpenTofu will perform the following actions: # kanidm_oauth2_basic.harbor will be updated in-place ~ resource "kanidm_oauth2_basic" "harbor" { ~ displayname = "harbor.apps.caosh.int.animeteamspeak.moe" -> "harbor.animeteamspeak.moe" id = "eaa855c8-c19e-4e6a-82e6-07eae06ddf92" name = "harbor" ~ origin = "https://harbor.apps.caosh.int.animeteamspeak.moe/" -> "https://harbor.animeteamspeak.moe/" ~ redirect_uris = [ - "https://harbor.apps.caosh.int.animeteamspeak.moe/c/oidc/callback", + "https://harbor.animeteamspeak.moe/c/oidc/callback", ] # (1 unchanged attribute hidden) # (8 unchanged blocks hidden) } Plan: 0 to add, 1 to change, 0 to destroy. ``` To apply this plan, please **merge** this pull request.
ginjiruu merged commit 8fa5857f13 into master 2026-11-21 01:41:23 +00:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
lab/iac!181
No description provided.