Skip to content

feat(chart): accept issuer settings #337

Closed

Description

@uniqueg

Problem

FOCA 0.18 accepts trusted issuers as maps with their own settings (issuer, namespace, audience, claim_groups, userinfo_claims), not only as URLs. The Helm chart's security check (protes.checkSecurity in deployment/templates/_helpers.tpl) refuses every entry of config.security.auth.issuers that isn't a string. It also requires a global claim_groups whenever groups are mapped, while FOCA also accepts per-issuer claim_groups.

This leaves chart users without the remedy that the upgrade notes give for several trusted issuers: listing the previously trusted issuer with namespace: "", so that stored owners with bare subjects keep their tasks (#331).

Proposal

  • Accept issuer maps whose issuer is a non-empty string without surrounding whitespace, as FOCA does.
  • Let an issuer's claim_groups satisfy the chart's group-claim check, as FOCA's check does.
  • Add chart tests and update the chart README.

Cloud Registry has the same gap; follow its solution if it lands first.

Acceptance criteria

  • The chart renders with issuer maps, and fails on invalid ones.
  • Chart tests and helm lint pass.

Activity

  1. added
    priority: medium
    status: triage
    type: delivery
    type: feature
    workload: hours
    status: in progress
    and removed
    status: triage
    on Oct 28, 2026
  2. removed
    status: in progress
    on Oct 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    priority: mediumtype: deliverytype: featureworkload: hours

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions