feat: add NATS NKey authentication and rework docker build config - #1
Merged
Conversation
- add the nats-auth-nkey EDC module to controlplane, identity-hub and
issuerservice runtimes to enable NKey authentication for the NATS
connection
- exclude bcprov-lts8on (pulled in by jnats) everywhere: its glibc-linked
JNI natives crash on the musl-based alpine images and it duplicates
classes already provided by bcprov-jdk18on
- replace the afterEvaluate-based docker/shadow wiring in the root build
with declarative plugin application: subprojects apply the plugins in
their own plugins {} blocks, the root reacts via plugins.withId
- add the docker plugin to issuerservice so it builds an image too
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
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.
Summary
nats-auth-nkeyEDC module to the controlplane, identity-hub and issuerservice runtimes to enable NKey authentication for the NATS connection (seed file delivered by the deployment)bcprov-lts8on(transitively pulled in by jnats) in all subprojects: its glibc-linked JNI natives crash withUnsatisfiedLinkErroron the musl-based alpine images, and it duplicatesorg.bouncycastle.*classes already provided bybcprov-jdk18onin the shadow jarafterEvaluate-based docker/shadow wiring with declarative plugin application — subprojects apply the plugins in their ownplugins {}blocks and the root configures thedockerizetask viaplugins.withId