Skip to content

Commit

Permalink
wip silence warnings logs
Browse files Browse the repository at this point in the history
redundant reverse proxy + why w004 ?
  • Loading branch information
lebaudantoine committed Aug 2, 2024
1 parent 2ddaba7 commit 3e28c5d
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/backend/meet/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ class Base(Configuration):
# Security
ALLOWED_HOSTS = values.ListValue([])
SECRET_KEY = values.Value(None)
SILENCED_SYSTEM_CHECKS = values.ListValue([])

# Application definition
ROOT_URLCONF = "meet.urls"
Expand Down
1 change: 1 addition & 0 deletions src/helm/env.d/dev/values.meet.yaml.gotmpl
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ backend:
DJANGO_ALLOWED_HOSTS: "*"
DJANGO_SECRET_KEY: {{ .Values.djangoSecretKey }}
DJANGO_SETTINGS_MODULE: meet.settings
DJANGO_SILENCED_SYSTEM_CHECKS: security.W004, security.W008
DJANGO_SUPERUSER_PASSWORD: admin
DJANGO_EMAIL_HOST: "mailcatcher"
DJANGO_EMAIL_PORT: 1025
Expand Down
1 change: 1 addition & 0 deletions src/helm/env.d/preprod/values.meet.yaml.gotmpl
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ backend:
name: backend
key: DJANGO_SECRET_KEY
DJANGO_SETTINGS_MODULE: meet.settings
DJANGO_SILENCED_SYSTEM_CHECKS: security.W004, security.W008
DJANGO_SUPERUSER_PASSWORD:
secretKeyRef:
name: backend
Expand Down
1 change: 1 addition & 0 deletions src/helm/env.d/production/values.meet.yaml.gotmpl
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ backend:
name: backend
key: DJANGO_SECRET_KEY
DJANGO_SETTINGS_MODULE: meet.settings
DJANGO_SILENCED_SYSTEM_CHECKS: security.W004, security.W008
DJANGO_SUPERUSER_EMAIL:
secretKeyRef:
name: backend
Expand Down

0 comments on commit 3e28c5d

Please sign in to comment.