-
Notifications
You must be signed in to change notification settings - Fork 16
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
Fetch the sealed secrets cert as startup event #196
Conversation
Jaydee94
commented
Dec 14, 2022
- Remove the initContainer from helm chart
- Set necessary environment variables in api deployment
- Run fastapi startup event instead of using initContainer
- Use the uvicorn logger to see all custom logs
- Update python dependencies
- Notice about helm chart update in README
* Remove the initContainer from helm chart * Set necessary environment variables in api deployment * Run fastapi startup event instead of using initContainer * Use the uvicorn logger to see all custom logs * Update python dependencies * Notice about helm chart update in README
|
||
LOGGER.info( | ||
"Fetch certificate from sealed secrets controller '%s' in namespace '%s'", | ||
sealed_secrets_controller_name, |
Check failure
Code scanning / CodeQL
Clear-text logging of sensitive information
LOGGER.info( | ||
"Fetch certificate from sealed secrets controller '%s' in namespace '%s'", | ||
sealed_secrets_controller_name, | ||
sealed_secrets_namespace, |
Check failure
Code scanning / CodeQL
Clear-text logging of sensitive information
LOGGER.error(error_message) | ||
raise RuntimeError(error_message) | ||
with open(kubeseal_cert, "w") as file: | ||
LOGGER.info("Saving certificate in '%s'", kubeseal_cert) |
Check failure
Code scanning / CodeQL
Clear-text logging of sensitive information
Have you had a look at tiangolo/fastapi#1508 (comment) |
* Add ability to overwrite the loglevel of the api image in the helm chart * npm audit fix