Skip to content

Commit e72ba24

Browse files
authored
Add k8s cluster as supported project resource (#568)
* Add k8s cluster as supported project resource * Undo weird auto formatting
1 parent a078b3a commit e72ba24

File tree

1 file changed

+21
-20
lines changed

1 file changed

+21
-20
lines changed

specification/DigitalOcean-public.v2.yaml

+21-20
Original file line numberDiff line numberDiff line change
@@ -327,36 +327,37 @@ tags:
327327
valid URN has the following format: `do:resource_type:resource_id`. The
328328
following resource types are supported:
329329
330-
Resource Type | Example URN
331-
--------------|------------
332-
Database | `do:dbaas:83c7a55f-0d84-4760-9245-aba076ec2fb2`
333-
Domain | `do:domain:example.com`
334-
Droplet | `do:droplet:4126873`
335-
Floating IP | `do:floatingip:192.168.99.100`
336-
Load Balancer | `do:loadbalancer:39052d89-8dd4-4d49-8d5a-3c3b6b365b5b`
337-
Space | `do:space:my-website-assets`
338-
Volume | `do:volume:6fc4c277-ea5c-448a-93cd-dd496cfef71f`
330+
Resource Type | Example URN
331+
-------------------|------------
332+
Database | `do:dbaas:83c7a55f-0d84-4760-9245-aba076ec2fb2`
333+
Domain | `do:domain:example.com`
334+
Droplet | `do:droplet:4126873`
335+
Floating IP | `do:floatingip:192.168.99.100`
336+
Kubernetes Cluster | `do:kubernetes:bd5f5959-5e1e-4205-a714-a914373942af`
337+
Load Balancer | `do:loadbalancer:39052d89-8dd4-4d49-8d5a-3c3b6b365b5b`
338+
Space | `do:space:my-website-assets`
339+
Volume | `do:volume:6fc4c277-ea5c-448a-93cd-dd496cfef71f`
339340
340341
### Resource Status Codes
341342
342343
When assigning and retrieving resources in projects, a `status` attribute
343344
is returned that indicates if a resource was successfully retrieved or
344345
assigned. The status codes can be one of the following:
345346
346-
Status Code | Explanation
347-
------------|------------
348-
`ok` | There was no problem retrieving or assigning a resource.
349-
`not_found` | The resource was not found.
350-
`assigned` | The resource was successfully assigned.
347+
Status Code | Explanation
348+
-------------------|------------
349+
`ok` | There was no problem retrieving or assigning a resource.
350+
`not_found` | The resource was not found.
351+
`assigned` | The resource was successfully assigned.
351352
`already_assigned` | The resource was already assigned.
352353
`service_down` | There was a problem retrieving or assigning a resource. Please try again.
353354
354355
- name: Projects
355356
description: >-
356-
Projects allow you to organize your resources into groups that fit the way
357-
you work. You can group resources (like Droplets, Spaces, load balancers,
358-
domains, and floating IPs) in ways that align with the applications
359-
you host on DigitalOcean.
357+
Projects allow you to organize your resources into groups that fit the way
358+
you work. You can group resources (like Droplets, Spaces, load balancers,
359+
domains, and floating IPs) in ways that align with the applications
360+
you host on DigitalOcean.
360361
361362
- name: Regions
362363
description: Provides information about DigitalOcean data center regions.
@@ -503,11 +504,11 @@ paths:
503504
/v2/apps/propose:
504505
post:
505506
$ref: 'resources/apps/propose_app.yml'
506-
507+
507508
/v2/apps/{app_id}/alerts:
508509
get:
509510
$ref: 'resources/apps/list_alerts.yml'
510-
511+
511512
/v2/apps/{app_id}/alerts/{alert_id}/destinations:
512513
post:
513514
$ref: 'resources/apps/assign_alert_destinations.yml'

0 commit comments

Comments
 (0)