Skip to content

Commit

Permalink
Allow the blocklist to be configurable
Browse files Browse the repository at this point in the history
  • Loading branch information
dehort committed Sep 24, 2024
1 parent 5bbf89f commit 35fa754
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
8 changes: 8 additions & 0 deletions deploy/clowdapp.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -175,6 +175,9 @@ objects:
- name: SOURCES_PORT
value: ${SOURCES_CONNECTOR_PORT}

- name: BLOCKLIST_ORG_IDS
value: ${BLOCKLIST_ORG_IDS}

resources:
limits:
cpu: ${CPU_LIMIT}
Expand Down Expand Up @@ -266,6 +269,8 @@ objects:
value: ${STORAGE_MAX_CONCURRENCY}
- name: ARTIFACT_MAX_SIZE
value: ${ARTIFACT_MAX_SIZE}
- name: BLOCKLIST_ORG_IDS
value: ${BLOCKLIST_ORG_IDS}
resources:
limits:
cpu: ${CPU_LIMIT}
Expand Down Expand Up @@ -378,6 +383,9 @@ parameters:
- name: SOURCES_CONNECTOR_PORT
value: '8080'

- name: BLOCKLIST_ORG_IDS
value: ""

# Used for testing in ephemeral environments only.
- name: PSK_AUTH_TEST
value: "" # If a value is not provided the principal is ignored.
Expand Down
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ services:
CLOWDER_ENABLED: "false"
DB_HOST: "db"
PSK_AUTH_TEST: "xwKhCUzgJ8"
BLOCKLIST_ORGIDS: "1337,7331"
BLOCKLIST_ORG_IDS: "1337,7331"
restart: unless-stopped

zookeeper:
Expand Down

0 comments on commit 35fa754

Please sign in to comment.