-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathplugin.json
More file actions
237 lines (237 loc) · 8.8 KB
/
plugin.json
File metadata and controls
237 lines (237 loc) · 8.8 KB
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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
{
"name": "workflow-plugin-digitalocean",
"version": "0.0.0",
"description": "DigitalOcean IaC provider: App Platform, App Platform domains, DOKS, databases, Redis cache, load balancers, VPC, firewall, DNS, Spaces, DOCR, certificates, Droplets, Block Storage volumes, IAM (declared), and API gateway",
"author": "GoCodeAlone",
"license": "MIT",
"type": "external",
"tier": "community",
"minEngineVersion": "0.69.1",
"required_secrets": [
{
"name": "DIGITALOCEAN_TOKEN",
"sensitive": true,
"description": "DigitalOcean API token with read/write scope (DNS + infra via godo).",
"prompt": "DigitalOcean API token"
}
],
"iacServices": [
"workflow.plugin.external.iac.IaCProviderRequired",
"workflow.plugin.external.iac.IaCProviderEnumerator",
"workflow.plugin.external.iac.IaCProviderDriftDetector",
"workflow.plugin.external.iac.IaCProviderCredentialRevoker",
"workflow.plugin.external.iac.IaCProviderMigrationRepairer",
"workflow.plugin.external.iac.IaCProviderValidator",
"workflow.plugin.external.iac.IaCProviderDriftConfigDetector",
"workflow.plugin.external.iac.IaCProviderLogCapture",
"workflow.plugin.external.iac.IaCProviderRequirementMapper",
"workflow.plugin.external.iac.IaCProviderRegionLister",
"workflow.plugin.external.iac.IaCProviderOwnership",
"workflow.plugin.external.iac.IaCProviderFinalizer",
"workflow.plugin.external.iac.ResourceDriver",
"workflow.plugin.external.iac.IaCStateBackend"
],
"keywords": [
"digitalocean",
"iac",
"infra",
"kubernetes",
"database",
"app-platform",
"spaces",
"redis"
],
"homepage": "https://github.com/GoCodeAlone/workflow-plugin-digitalocean",
"repository": "https://github.com/GoCodeAlone/workflow-plugin-digitalocean",
"downloads": [
{
"os": "linux",
"arch": "amd64",
"url": "https://github.com/GoCodeAlone/workflow-plugin-digitalocean/releases/download/v2.0.15/workflow-plugin-digitalocean-linux-amd64.tar.gz"
},
{
"os": "linux",
"arch": "arm64",
"url": "https://github.com/GoCodeAlone/workflow-plugin-digitalocean/releases/download/v2.0.15/workflow-plugin-digitalocean-linux-arm64.tar.gz"
},
{
"os": "darwin",
"arch": "amd64",
"url": "https://github.com/GoCodeAlone/workflow-plugin-digitalocean/releases/download/v2.0.15/workflow-plugin-digitalocean-darwin-amd64.tar.gz"
},
{
"os": "darwin",
"arch": "arm64",
"url": "https://github.com/GoCodeAlone/workflow-plugin-digitalocean/releases/download/v2.0.15/workflow-plugin-digitalocean-darwin-arm64.tar.gz"
}
],
"iacProvider": {
"computePlanVersion": "v2"
},
"capabilities": {
"configProvider": false,
"moduleTypes": [
"iac.provider"
],
"stepTypes": [
"step.iac_logs",
"step.iac_scale"
],
"triggerTypes": [],
"iacStateBackends": [
"spaces"
],
"iacProvider": {
"name": "digitalocean",
"resourceTypes": [
"infra.container_service",
"infra.app_domain",
"infra.k8s_cluster",
"infra.database",
"infra.cache",
"infra.load_balancer",
"infra.vpc",
"infra.firewall",
"infra.dns",
"infra.storage",
"infra.registry",
"infra.certificate",
"infra.droplet",
"infra.volume",
"infra.iam_role",
"infra.api_gateway"
],
"configSchema": {
"infra.container_service": {
"expose": {
"type": "string",
"enum": [
"public",
"internal"
],
"default": "public",
"description": "Whether the service has a public edge route (public, default) or is reachable only from sibling components via DO App Platform internal DNS (<name>.internal:<port>) (internal)."
}
},
"infra.app_domain": {
"description": "DigitalOcean App Platform domain binding. Updates only AppSpec.Domains on an existing App Platform app so DNS/domain aliases can be reconciled without rebuilding service images or runtime environment variables.",
"fields": {
"app": {
"type": "string",
"required": false,
"description": "Existing App Platform app name. Required unless app_id is set."
},
"app_id": {
"type": "string",
"required": false,
"description": "Existing App Platform app UUID. Required unless app is set."
},
"domain": {
"type": "string",
"required": true,
"description": "Fully qualified domain name to attach to the app."
},
"type": {
"type": "string",
"required": false,
"enum": [
"PRIMARY",
"ALIAS"
],
"description": "App Platform custom domain type. Use PRIMARY for the app's primary custom domain or ALIAS for a non-primary custom domain."
},
"zone": {
"type": "string",
"required": false,
"description": "DigitalOcean DNS zone for provider-managed DNS validation."
},
"wildcard": {
"type": "bool",
"required": false,
"description": "Whether the domain is a wildcard binding."
},
"certificate": {
"type": "string",
"required": false,
"description": "Certificate ID to attach when using a custom certificate."
},
"minimum_tls_version": {
"type": "string",
"required": false,
"enum": [
"1.2",
"1.3"
],
"description": "Minimum TLS version for this domain."
}
}
},
"infra.dns": {
"description": "DigitalOcean DNS zone and record reconciliation. Declared records are upserted; absent_records deletes targeted stale records without making the whole zone authoritative.",
"fields": {
"domain": {
"type": "string",
"required": true,
"description": "DNS zone name."
},
"records": {
"type": "array<object>",
"required": false,
"description": "Records to create or update. Each record supports type, name, data, ttl, and type-specific fields."
},
"absent_records": {
"type": "array<object>",
"required": false,
"description": "Records to delete when present. Each entry supports type, name, and optional data for exact-value matching."
}
}
},
"infra.firewall": {
"description": "DigitalOcean cloud firewall. Attaches to Droplets by ID or by tag (which auto-attaches future Droplets / DOKS pools that receive the tag). Either `droplet_ids` or `tags` is REQUIRED; `wfctl infra apply` rejects firewalls with no targets before any DO API call. NOTE: DO firewalls do not attach to App Platform apps — for App-Platform-only deployments, use `expose: internal` services plus `trusted_sources` on managed databases.",
"fields": {
"droplet_ids": {
"type": "array<int>",
"required": false,
"description": "Droplet IDs the firewall attaches to. At least one of `droplet_ids` or `tags` must be set."
},
"tags": {
"type": "array<string>",
"required": false,
"description": "Droplet/DOKS-pool tag strings. Resources receiving any listed tag auto-join the firewall. Example: [\"bmw-prod\"]."
},
"inbound_rules": {
"type": "array<object>",
"required": false,
"description": "Each rule: {protocol: tcp|udp|icmp, ports: \"<n>|<a-b>|all\", sources: [<CIDR>...]}."
},
"outbound_rules": {
"type": "array<object>",
"required": false,
"description": "Each rule: {protocol: tcp|udp|icmp, ports: \"<n>|<a-b>|all\", destinations: [<CIDR>...]}."
}
},
"examples": [
{
"name": "tag-based-firewall",
"comment": "Tag-based attachment so future Droplets / DOKS pools auto-join.",
"spec": {
"tags": [
"bmw-prod"
],
"inbound_rules": [
{
"protocol": "tcp",
"ports": "443",
"sources": [
"0.0.0.0/0"
]
}
]
}
}
]
}
}
}
}
}