-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
API: refactor webapp to make use of FastAPI dependecy injection #213
base: master
Are you sure you want to change the base?
Conversation
this is a draft. i wanted to get some early feedback to see if this changes is acceptable. i still need to refactor the test suite. this change will replace most of the refactoring done in #206 |
fetch_sealed_secrets_cert() | ||
if settings.kubeseal_autofetch: | ||
with open(settings.kubeseal_cert, "w") as file: | ||
LOGGER.info("Saving certificate in '%s'", settings.kubeseal_cert) |
Check failure
Code scanning / CodeQL
Clear-text logging of sensitive information
for secret in data.secrets: | ||
LOGGER.info( | ||
"Sealing secret '%s.%s' for namespace '%s' with scope '%s'.", | ||
data.secret, |
Check failure
Code scanning / CodeQL
Clear-text logging of sensitive information
09d0a1b
to
92d9908
Compare
unify all interaction with the kubernetes API and the kubeseal binaries in reusable clients, which exist as mock and as productive implementations. the clients are injected using the FastAPI dependency injection system
unify all interaction with the kubernetes API and the kubeseal binaries in reusable clients, which exist as mock and as productive implementations. the clients are injected using the FastAPI dependency injection system