Remove Python app example and replace with header-echo server for testing
- Deleted the `/examples/docker/python-app` directory and associated files. - Integrated a custom `header-echo` server for Kubernetes and Docker Compose tests. - Updated Kubernetes and Docker Compose configurations to use the new `header-echo-server:test` image. - Enhanced Kubernetes integration tests to validate JSON responses and Cloudflare IP translation behavior.
This commit is contained in:
parent
1fd5873dc9
commit
b34d7822e4
6 changed files with 139 additions and 14 deletions
11
examples/fixtures/header-echo/Dockerfile
Normal file
11
examples/fixtures/header-echo/Dockerfile
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
FROM python:3.12-slim
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
COPY server.py .
|
||||
|
||||
RUN chmod +x server.py
|
||||
|
||||
EXPOSE 8080
|
||||
|
||||
CMD ["python3", "server.py"]
|
||||
Loading…
Add table
Add a link
Reference in a new issue