Fix admin CLI Compose secret-file resolution #113
No reviewers
Labels
No labels
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
nsaspy/starintel-server!113
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "agent/issue-112-admin-file-secrets"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Closes #112
Problem
docker exec <star-server> /bin/star-server admin ...bypassesdocker/star-server-entrypoint.sh. Compose supplies server credentials through*_FILEvariables, butdocker/star-server-init.lisprefreshed the dumped runtime settings only from the corresponding plaintext environment variables. Normalstartappeared correct only because the container entrypoint first copied secret-file contents into plaintext variables.Fix
environment-secretresolver for CouchDB, RabbitMQ, auth pepper, and auth bootstrap secrets;docker compose exec -T star-server /bin/star-server admin user listafter bootstrap while Compose provides the credentials through mounted*_FILEsecrets.TDD / verification trail