Skip to content

docs(spec): add and archive the sso-service-charm specification - #3

Open
nsklikas wants to merge 6 commits into
sso-service-charmfrom
sso-service-charm-spec
Open

nsklikas wants to merge 6 commits into
sso-service-charmfrom
sso-service-charm-spec

Conversation

@nsklikas

@nsklikas nsklikas commented Oct 13, 2026 •

Copy link
Copy Markdown
Collaborator

What

The specification of the Kubernetes charm of the SSO Service, which holds the SSO connections of Bring Your Own SSO: a tenant signing its members in with its own OIDC identity provider. The service has no charm yet, so an operator cannot deploy it with Juju. Documentation only, and the place to start reading before the code in #4. This pull request is stacked on the code, not under it: main has no charm yet, so its required checks cannot run on a pull request that has only the specification.

  • openspec/specs, eight new capabilities: workload-service, database-migration, ingress-routes, platform-integration, envelope-key, caller-authentication, ca-bundle, observability.
  • openspec/changes/archive/2026-10-13-sso-service-charm: the change they come from (proposal, design, tasks), already archived.
  • openspec/config.yaml, the OpenSpec configuration of the repository, and .markdownlintignore with openspec/, as hydra-operator has: the repository's markdownlint rules reject OpenSpec files.

Worth knowing before reviewing the code

  • The charm routes over istio_ingress_route only. Only the pages of an SSO sign-in are public, under /sso and over HTTPS. The management API is on the internal gateway, which has to authorize each request.
  • The leader publishes before the charm plans the service. The related charms get their relation data and the gateways their routes before the database is ready, because they need neither this workload nor its database.
  • The envelope key is written one time. When the operator names an initial key that the leader cannot read, the unit blocks: a restored database never starts with a new key.
  • The gRPC port takes calls with no token, because the login UI calls the sign-in API before a user has one. The charm does not restrict the port; the deployment has to.
  • Not in this specification: the actions that manage SSO connections and policies (docs(spec): add and archive the management-actions specification #5), rotation of the envelope key, a network policy for the gRPC port.

Checks

openspec validate --all --strict passes. No code changes.

The text is written in Simplified Technical English (ASD-STE100, at about 80%): short sentences, active voice, one topic in each.

@nsklikas
nsklikas changed the base branch from main to sso-service-charm October 13, 2026 14:20
@nsklikas
nsklikas force-pushed the sso-service-charm-spec branch from fb38309 to ea76633 Compare October 13, 2026 14:20
@nsklikas
nsklikas force-pushed the sso-service-charm-spec branch from ea76633 to 69a71a8 Compare October 13, 2026 18:27
@nsklikas
nsklikas marked this pull request as ready for review October 14, 2026 10:47
@nsklikas
nsklikas requested a review from a team as a code owner October 14, 2026 10:47
The specification of the charm of the SSO Service, written from its code. It has 8 capabilities: the workload service and the unit status, the database and its migration, the routes on the 2 Istio gateways, the relation data for the other applications of the platform, the envelope key, the authentication of callers, the CA bundle and observability. The change also adds the OpenSpec configuration of the repository.
@nsklikas
nsklikas force-pushed the sso-service-charm-spec branch from 69a71a8 to 6c21050 Compare October 16, 2026 11:24
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.

1 participant