Update values.yaml

This commit is contained in:
cunningpike 2023-01-21 22:53:10 -05:00 committed by GitHub
parent bd1a4eca7e
commit a9628a9a56
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 15 additions and 15 deletions

View File

@ -41,9 +41,9 @@ fediblockhole:
# If `import_fields` are provided, only import these fields from the instance. # If `import_fields` are provided, only import these fields from the instance.
# Overrides the global `import_fields` setting. # Overrides the global `import_fields` setting.
blocklist_instance_sources: [ blocklist_instance_sources: [
# { domain = 'public.blocklist'}, # an instance with a public list of domain_blocks # { domain: 'public.blocklist'}, # an instance with a public list of domain_blocks
# { domain = 'jorts.horse', token = '<a_different_token>' }, # user accessible block list # { domain: 'jorts.horse', token = '<a_different_token>' }, # user accessible block list
# { domain = 'eigenmagic.net', token = '<a_token_with_read_auth>', admin = true }, # admin access required # { domain: 'eigenmagic.net', token = '<a_token_with_read_auth>', admin = true }, # admin access required
] ]
# List of URLs to read csv blocklists from # List of URLs to read csv blocklists from
@ -51,45 +51,45 @@ fediblockhole:
# max_severity tells the parser to override any severities that are higher than this value # max_severity tells the parser to override any severities that are higher than this value
# import_fields tells the parser to only import that set of fields from a specific source # import_fields tells the parser to only import that set of fields from a specific source
blocklist_url_sources: [ blocklist_url_sources: [
# { url = 'file:///path/to/fediblockhole/samples/demo-blocklist-01.csv', format = 'csv' }, # { url: 'file:///path/to/fediblockhole/samples/demo-blocklist-01.csv', format = 'csv' },
{ url = 'https://raw.githubusercontent.com/eigenmagic/fediblockhole/main/samples/demo-blocklist-01.csv', format = 'csv' }, { url: 'https://raw.githubusercontent.com/eigenmagic/fediblockhole/main/samples/demo-blocklist-01.csv', format = 'csv' },
] ]
## These global allowlists override blocks from blocklists ## These global allowlists override blocks from blocklists
# These are the same format and structure as blocklists, but they take precedence # These are the same format and structure as blocklists, but they take precedence
allowlist_url_sources: [ allowlist_url_sources: [
{ url = 'https://raw.githubusercontent.com/eigenmagic/fediblockhole/main/samples/demo-allowlist-01.csv', format = 'csv' }, { url: 'https://raw.githubusercontent.com/eigenmagic/fediblockhole/main/samples/demo-allowlist-01.csv', format = 'csv' },
{ url = 'https://raw.githubusercontent.com/eigenmagic/fediblockhole/main/samples/demo-allowlist-02.csv', format = 'csv' }, { url: 'https://raw.githubusercontent.com/eigenmagic/fediblockhole/main/samples/demo-allowlist-02.csv', format = 'csv' },
] ]
# List of instances to write blocklist to # List of instances to write blocklist to
blocklist_instance_destinations: [ blocklist_instance_destinations: [
# { domain = 'eigenmagic.net', token = '<read_write_token>', max_followed_severity = 'silence'}, # { domain: 'eigenmagic.net', token = '<read_write_token>', max_followed_severity = 'silence'},
] ]
## Store a local copy of the remote blocklists after we fetch them ## Store a local copy of the remote blocklists after we fetch them
#save_intermediate = true #save_intermediate: true
## Directory to store the local blocklist copies ## Directory to store the local blocklist copies
# savedir = '/tmp' # savedir: '/tmp'
## File to save the fully merged blocklist into ## File to save the fully merged blocklist into
# blocklist_savefile = '/tmp/merged_blocklist.csv' # blocklist_savefile: '/tmp/merged_blocklist.csv'
## Don't push blocklist to instances, even if they're defined above ## Don't push blocklist to instances, even if they're defined above
# no_push_instance = false # no_push_instance: false
## Don't fetch blocklists from URLs, even if they're defined above ## Don't fetch blocklists from URLs, even if they're defined above
# no_fetch_url = false # no_fetch_url: false
## Don't fetch blocklists from instances, even if they're defined above ## Don't fetch blocklists from instances, even if they're defined above
# no_fetch_instance = false # no_fetch_instance: false
## Set the mergeplan to use when dealing with overlaps between blocklists ## Set the mergeplan to use when dealing with overlaps between blocklists
# The default 'max' mergeplan will use the harshest severity block found for a domain. # The default 'max' mergeplan will use the harshest severity block found for a domain.
# The 'min' mergeplan will use the lightest severity block found for a domain. # The 'min' mergeplan will use the lightest severity block found for a domain.
# mergeplan = 'max' # mergeplan: 'max'
## Set which fields we import ## Set which fields we import
## 'domain' and 'severity' are always imported, these are additional ## 'domain' and 'severity' are always imported, these are additional