Repository navigation
Re-Write the Kubernetes and NATS extensions - #110
Merged
colinjlacy merged 2 commits intoDec 3, 2026
Merged
Conversation
…docs Like S3, the Kubernetes and NATS extensions came from compilers that joined a source model (the Kubernetes OpenAPI document, a hand-kept NATS operations inventory) with a hand-written semantic bridge. They are now written by hand like every other extension, so no bridge, compiler or generated file is left in the catalog. Removed: both compilers and their tests, both semantic bridges, the Kubernetes OpenAPI projection, the generated service mappings and review reports, the Kubernetes maintenance manifest, the compiler-centred docs, and SERVICE_OPERATIONS_SEMANTIC_BRIDGES.md. The Tests workflow no longer checks out the service-operations-inventories repository, CONTRIBUTING no longer asks for it, and EXTENSION_RELEASES.md says that every release is written by hand. Kubernetes API 0.2.0 and NATS 0.3.0 keep the schemas of 0.1.0 and 0.2.0 exactly, and add documentation in simple English: what the extension is for, every field, every verb, scope, method, resource, action and setting, one line for each of the 26 NATS operations, and examples that validate against the schemas. Both READMEs are rewritten with a usage example and its profile output. Kubernetes needs no new release for new Kubernetes versions, because it describes resources by group, version and name rather than by a fixed list. The kubernetes-api packages move to 0.2.0 in every language. The nats-service packages move to 0.3.0 for Go, Python and TypeScript, and 0.2.0 for Java.
Contributor
Publishing setupFor maintainers. Do these steps before these packages are published, or the publish run fails for them. They need an account with write access to the package. npm: add a trusted publisher@runtimeconditions/kubernetes-api has no trusted publisher, because the latest version was not published by the publish workflow. Without one, npm answers that workflow with a 404. Run (asks for 2FA): npm trust github @runtimeconditions/kubernetes-api --file binding-publish-npm.yml --repo runtimeconditions/extensions --allow-publish --allow-stage-publish --yesnpm drops a trusted publisher that is not used within 2 days, so run the publish workflow soon after. If the package's npm settings already show the publisher as Pending validation, it is set; skip it. No setup needed (3)
Go and Maven Central need no setup. After the merge
|
Kubernetes API 0.2.0 gets two more examples: listing nodes, to show the cluster scope, and creating a cert-manager Certificate, to show that a custom resource is declared like a built-in one. NATS 0.3.0 gets three: subscribing with the orders.> wildcard together with a request, which is not a publish; creating a stream with its subjects and writing to an object store; and configuration alternatives, NATS_URL or NATS_HOST with NATS_PORT. All ten examples validate against the schemas, which are unchanged.
colinjlacy
approved these changes
Dec 3, 2026
colinjlacy
left a comment
Member
There was a problem hiding this comment.
Thank you for doing this! Long overdue, and cleans up a mess I made a long time ago. Much appreciated @itvi-1234
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.
What this changes
Like S3 in #107, the Kubernetes and NATS extensions were made by compilers. Each compiler joined a source (the Kubernetes OpenAPI document, or a hand-kept NATS operations inventory) with a hand-written "semantic bridge". Now both are written by hand, like every other extension. After this PR, no bridge, compiler or generated file is left in the catalog.
Removed
The Tests workflow no longer checks out the service-operations-inventories repository, and CONTRIBUTING no longer asks you to clone it. EXTENSION_RELEASES.md now says that every release is written by hand.
New releases, with docs in simple English
Packages