Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions kubernetes/overlays/dev/backend-deployment-patch.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@ spec:
containers:
- name: backend
env:
- name: OJ_ENV
value: "dev"
- name: CSRF_TRUSTED_ORIGINS
Comment on lines 10 to 11

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P2 Badge Update the guide after switching dev to production mode

After this removal, the dev deployment inherits OJ_ENV=production from backend/Dockerfile:6, causing backend/oj/settings.py:21-25 to load production settings. However, docs/content/developer/infra/observability-improvement-plan/_index.md:80 still explicitly states that the dev overlay fixes OJ_ENV=dev. This now documents the opposite runtime contract and could lead an operator or future change to restore the setting that broke the /data path; update the guide to describe the inherited production Django mode while retaining the separate dev telemetry labels.

Useful? React with 👍 / 👎.

value: "https://k3s.code-place-dev.site"
- name: SENTRY_DSN_BACKEND
Expand Down
2 changes: 0 additions & 2 deletions kubernetes/overlays/dev/celery-beat-deployment-patch.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,6 @@ spec:
containers:
- name: celery-beat
env:
- name: OJ_ENV
value: "dev"
- name: SENTRY_DSN_BACKEND
valueFrom:
secretKeyRef:
Expand Down
2 changes: 0 additions & 2 deletions kubernetes/overlays/dev/celery-worker-deployment-patch.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,6 @@ spec:
containers:
- name: celery-worker
env:
- name: OJ_ENV
value: "dev"
- name: SENTRY_DSN_BACKEND
valueFrom:
secretKeyRef:
Expand Down
Loading