Skip to content

Commit

Permalink
Merge pull request #2838 from manics/aws-curvenote-binder
Browse files Browse the repository at this point in the history
Curvenote: Add GitHub tokens, and publish events
  • Loading branch information
manics authored Nov 23, 2023
2 parents e3fd889 + ff7151d commit d66a3f1
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 14 deletions.
23 changes: 9 additions & 14 deletions config/curvenote.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,31 +28,26 @@ binderhub:
secretKeyRef:
name: curvenote-binderhub-container-registry-helper
key: auth_token
GOOGLE_APPLICATION_CREDENTIALS: /secrets/service-account.json

registry:
url: 166088433508.dkr.ecr.us-east-2.amazonaws.com
username: ""
password: ""

# extraVolumes:
# - name: secrets
# secret:
# secretName: events-archiver-secrets
# extraVolumeMounts:
# - name: secrets
# mountPath: /secrets
# readOnly: true
# extraEnv:
# GOOGLE_APPLICATION_CREDENTIALS: /secrets/service-account.json
extraVolumes:
- name: secrets
secret:
secretName: events-archiver-secrets
extraVolumeMounts:
- name: secrets
mountPath: /secrets
readOnly: true

extraPodSpec:
priorityClassName: binderhub-core

extraConfig:
01-eventlog: |
# Disabled until GOOGLE_APPLICATION_CREDENTIALS secret is available
# and secrets/events-archiver/curvenote.json is created
10-external-registry-helper: |
import json
from os import getenv
Expand Down
Binary file modified secrets/config/curvenote.yaml
Binary file not shown.

0 comments on commit d66a3f1

Please sign in to comment.