Add Kubernetes environments for Preprod and Test#65
Merged
Conversation
Contributor
There was a problem hiding this comment.
Pull Request Overview
This PR introduces Kubernetes configurations for separate Preprod and Test environments with Tailscale integration for secure service exposure. The changes establish infrastructure-as-code for multi-environment deployments while updating application configurations to support development workflows.
- Added complete Kubernetes manifests for test and preprod environments with Tailscale operator integration
- Updated Django applications to use development settings and reorganized Python dependencies
- Created deployment scripts and updated documentation for the new environment structure
Reviewed Changes
Copilot reviewed 21 out of 22 changed files in this pull request and generated 5 comments.
Show a summary per file
| File | Description |
|---|---|
| route_engine/route_engine/wsgi.py | Changed Django settings module from prod to dev |
| route_engine/route_engine/settings/dev.py | Added CORS configuration for development |
| route_engine/route_engine/asgi.py | Updated Django settings module to dev |
| pyproject.toml | Moved pytest-django to dev dependencies and added new dev tools |
| logicway/logicway/asgi.py | Updated Django settings module to dev |
| k8s/test-env/services/*.yaml | Created Kubernetes services for test environment with Tailscale annotations |
| k8s/test-env/configmap.yaml | Added test environment configuration with Tailscale URLs |
| k8s/preprod-env/services/*.yaml | Created Kubernetes services for preprod environment with Tailscale annotations |
| k8s/preprod-env/configmap.yaml | Added preprod environment configuration with Tailscale URLs |
| k8s/base/secret.yaml | Removed inline comments from base64 encoded values |
| k8s/base/configmap.yaml | Updated URLs to use relative paths instead of minikube IPs |
| k8s/apply_test.sh | Created deployment script for test environment |
| k8s/apply_preprod.sh | Created deployment script for preprod environment |
| k8s/README.md | Updated documentation to reference k3s instead of minikube |
| .github/workflows/django-linter.yml | Updated CI to use poetry for dependency management |
Comments suppressed due to low confidence (1)
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
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.
This PR introduces separate Kubernetes environments with Tailscale exposure for both Preprod and Test stages.
https://github.com/orgs/LogicWayTeam/projects/2?pane=info&statusUpdateId=143238
Integrated with Tailscale Kubernetes Operator to expose services securely.