Skip to content

Conversation

@TsybulkaM
Copy link
Contributor

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.

@TsybulkaM TsybulkaM self-assigned this Aug 21, 2025
@TsybulkaM TsybulkaM linked an issue Aug 21, 2025 that may be closed by this pull request
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

@TsybulkaM TsybulkaM marked this pull request as ready for review August 21, 2025 15:36
@TsybulkaM TsybulkaM merged commit d245f72 into main Aug 23, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Service test and deploy refactoring

2 participants