Skip to content

Commit

Permalink
kingfisher-main: Add Pelican Google user and escape newlines in priva…
Browse files Browse the repository at this point in the history
…te key
  • Loading branch information
jpmckinney committed Aug 14, 2023
1 parent 0eeee8e commit 0f1e9ad
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion pillar/kingfisher_main.sls
Original file line number Diff line number Diff line change
Expand Up @@ -212,8 +212,9 @@ docker_apps:
DJANGO_PROXY: True
ALLOWED_HOSTS: pelican.open-contracting.org
SECURE_HSTS_SECONDS: 31536000
RABBIT_EXCHANGE_NAME: *PELICAN_BACKEND_RABBIT_EXCHANGE_NAME
CORS_ALLOWED_ORIGINS: https://pelican.open-contracting.org
RABBIT_EXCHANGE_NAME: *PELICAN_BACKEND_RABBIT_EXCHANGE_NAME
GOOGLE_DRIVE_USER = pelican@pelican-289615.iam.gserviceaccount.com
# Avoid warning: "Matplotlib created a temporary config/cache directory at /.config/matplotlib because the
# default path (/tmp/matplotlib-........) is not a writable directory; it is highly recommended to set the
# MPLCONFIGDIR environment variable to a writable directory, in particular to speed up the import of Matplotlib
Expand Down
2 changes: 1 addition & 1 deletion salt/pelican/frontend/files/credentials.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"type": "service_account",
"project_id": "{{ project_id }}",
"private_key_id": "{{ private_key_id }}",
"private_key": "{{ private_key }}",
"private_key": {{ private_key|tojson }},
"client_email": "{{ client_email }}",
"client_id": "{{ client_id }}",
"auth_uri": "https://accounts.google.com/o/oauth2/auth",
Expand Down

0 comments on commit 0f1e9ad

Please sign in to comment.