Repository navigation
refactor: Externalize secrets and bind ports to localhost in Docker setup - #3081
Open
programmiri wants to merge 3 commits into
Open
programmiri wants to merge 3 commits into
programmiri wants to merge 3 commits into
Conversation
programmiri
force-pushed
the
docker-secure-config-setup
branch
from
November 21, 2026 10:10
6fe0afc to
3c3fd63
Compare
Contributor
|
@programmiri can you update the branch :D |
Contributor
Author
|
Updated! |
| #myprefix.kafkassl.keystore.type=pkcs12 | ||
| #myprefix.kafkassl.truststore.location=/truststore/client.truststore.jks | ||
| #myprefix.kafkassl.truststore.pwd=<truststore-password> | ||
| #myprefix.kafkassl.truststore.type=JKS |
Contributor
There was a problem hiding this comment.
Suggested change
| #myprefix.kafkassl.truststore.type=JKS | |
| #myprefix.kafkassl.truststore.type=JKS | |
| #myprefix.kafkassl.truststore.location=/truststore/ca.pem | |
| #myprefix.kafkassl.keystore.type=PEM | |
| #myprefix.kafkassl.truststore.type=PEM | |
| #myprefix.kafkassl.keystore.location=/truststore/svc.pem |
Contributor
Author
There was a problem hiding this comment.
Updated, but 🙏 please check again, I did it a bit different because otherwise we would have had truststore.type duplicated & I don't think we should?
aindriu-aiven
requested changes
Nov 25, 2026
aindriu-aiven
left a comment
Contributor
There was a problem hiding this comment.
Looks really good, had some minor bits and pieces to ask
…etup Signed-off-by: Mirjam Aulbach <me@programmiri.rocks>
programmiri
force-pushed
the
docker-secure-config-setup
branch
from
November 28, 2026 09:29
83772fd to
6a74939
Compare
Signed-off-by: Mirjam Aulbach <me@programmiri.rocks>
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.
Description
Update to docker files (and proxy) to (hopefully :D) make setup more comfortable:
1. No more secrets in git
The shared
KLAW_CLUSTERAPI_ACCESS_BASE64_SECRETand the default superadmin password (WelcomeToKlaw321@) were hardcoded indocker-compose-klaw.yaml. They now come from a git-ignoreddocker-scripts/.env, created with./klaw-docker.sh --init2. secrete.properties file
Cluster credentials (SASL, truststore passwords, Aiven token etc) moved to a git-ignored
docker-scripts/klaw-secrets.properties, mounted as a Docker secret and loaded viaSPRING_CONFIG_IMPORT.~/.klaw/truststore(also configurable viaKLAW_TRUSTSTORE_DIR) and mounted read-only at/truststorein the container.--deployand the new--restartfail fast if the config files are missing instead of starting with default secrets, the well-known E2E password is now only injected for--dev-ui-tests.Docs update, proxy update
docs are updated, corals proxy is also updated and adds better usage