-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
Updating terraform and k8s files adding redis... #7425
Updating terraform and k8s files adding redis... #7425
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
PR Summary
This pull request updates the Kubernetes and Terraform configurations for the TwentyCRM application, introducing Redis and improving the overall architecture. Here are the key changes and potential issues:
- Added Redis deployment and service configurations in both Kubernetes manifests and Terraform files
- Updated server and worker deployments to include Redis configuration and new environment variables
- Introduced new persistent volumes for Docker data
- Improved secret management using Terraform's random resource for token generation
- Updated variables.tf with new configuration options for Redis, replicas, and storage
Key points to consider:
- Ensure Redis persistence is properly configured to prevent data loss on pod restarts
- Review the resource limits and requests for Redis, server, and worker deployments
- Verify that the new persistent volume configurations are appropriate for the target environment
- Double-check the dependencies between deployments to ensure proper startup order
- Consider implementing Redis authentication for improved security
17 file(s) reviewed, 16 comment(s)
Edit PR Review Bot Settings
…lumosviridi-v0.30.0-kubernetes-updates
@charlesBochet / @FelixMalfait Hey! Took me a while to get this updated but this should include all of the changes needed up through Do you mind taking a look when you have a min? |
Oh wow, thanks @LumosViridi! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you, this is awesome!
I have left a few comments but approving as it LGTM :)
Merging it, thank you! |
Log
|
Also updated the way secrets are generated with Terraform and some code cleanup
Also updated the way secrets are generated with Terraform and some code cleanup