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
13 changes: 8 additions & 5 deletions helm/settings_local.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@

from base64 import b64decode
from email.utils import parseaddr
import json

from ietf import __release_hash__
from ietf.settings import * # pyflakes:ignore
Expand Down Expand Up @@ -136,11 +137,11 @@
"DATATRACKER_MEETECHO_CLIENT_ID and DATATRACKER_MEETECHO_CLIENT_SECRET must be set in production"
)

APP_API_TOKENS = {
"ietf.api.views.directauth": ["redacted",],
"ietf.api.views.email_aliases": ["redacted"],
"ietf.api.views.active_email_list": ["redacted"],
}
_APP_API_TOKENS_JSON = os.environ.get("DATATRACKER_APP_API_TOKENS_JSON", None)
if _APP_API_TOKENS_JSON is not None:
APP_API_TOKENS = json.loads(_APP_API_TOKENS_JSON)
else:
APP_API_TOKENS = {}

EMAIL_COPY_TO = ""

Expand Down Expand Up @@ -195,6 +196,8 @@
IDSUBMIT_IDNITS_BINARY = "/usr/local/bin/idnits"

# Duplicating production cache from settings.py and using it whether we're in production mode or not
MEMCACHED_HOST = os.environ.get("MEMCACHED_SERVICE_HOST", "127.0.0.1")
MEMCACHED_PORT = os.environ.get("MEMCACHED_SERVICE_PORT", "11211")
from ietf import __version__
CACHES = {
"default": {
Expand Down
1 change: 1 addition & 0 deletions helm/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -593,3 +593,4 @@ env:
# DATATRACKER_MATOMO_SITE_ID: "7" # must be present to enable Matomo
# DATATRACKER_MATOMO_DOMAIN_PATH: "analytics.ietf.org"
CELERY_PASSWORD: "this-is-a-secret"
# DATATRACKER_APP_API_TOKENS_JSON: "<JSON blob>"