-
Notifications
You must be signed in to change notification settings - Fork 0
/
plugin.yaml
61 lines (54 loc) · 1.85 KB
/
plugin.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
name: cloudflare
short: cf
author: outblocks
usage: Cloudflare DNS plugin
description: Automatically setup Cloudflare DNS
cmd:
default: $OUTBLOCKS_PLUGIN_DIR/cloudflare_plugin
windows: $OUTBLOCKS_PLUGIN_DIR/cloudflare_plugin.exe
actions:
- dns
- deploy
priorities:
deploy: [500, 1000]
secrets:
cloudflare_api_key:
description: >
Global Cloudflare API key (requires 'cloudflare_api_email' to be set).
Defaults to $CLOUDFLARE_API_KEY if not specifed.
cloudflare_api_email:
description: >
Cloudflare user email (requires 'cloudflare_api_key' to be set).
Defaults to $CLOUDFLARE_API_EMAIL if not specified.
cloudflare_api_token:
description: >
Scoped Cloudflare API token (create here: https://dash.cloudflare.com/profile/api-tokens ).
Defaults to $CLOUDFLARE_API_TOKEN if not specified.
Required permissions:
For DNS automatic setup:
Zone - Zone - Read,
Zone - DNS - Edit.
For deployments:
Account - Cloudflare Pages - Edit,
Account - Workers KV Storage - Edit,
Account - Workers R2 Storage - Edit,
Account - Workers Scripts - Edit,
Account - Workers Tail - Edit,
Zone - Workers Routes - Edit.
cloudflare_api_user_service_key:
description: >
Cloudflare Origin CA Key (starts with "v1.0-").
Defaults to $CLOUDFLARE_API_USER_SERVICE_KEY if not specifed.
Required if you wish to automatically generate Origin CA certificates.
cloudflare_account_id:
description: >
Cloudflare Account ID (how to find:
https://developers.cloudflare.com/fundamentals/get-started/basic-tasks/find-account-and-zone-ids/ ).
Defaults to $CLOUDFLARE_ACCOUNT_ID if not specifed.
Required if you wish to use cloudflare for static or function deployments.
supports:
- function
- static
app_overrides:
function:
archive: false