Skip to main content

registries

Creates, updates, deletes, gets or lists a registries resource.

Overview

Nameregistries
TypeResource
Iddigitalocean.kubernetes.registries

Fields

SELECT not supported for this resource, use SHOW METHODS to view available operations for the resource.

Methods

NameAccessible byRequired ParamsDescription
kubernetes_add_registryINSERTTo integrate the container registry with Kubernetes clusters, send a POST request to /v2/kubernetes/registry.
kubernetes_remove_registryDELETETo remove the container registry from Kubernetes clusters, send a DELETE request to /v2/kubernetes/registry.

INSERT example

Use the following StackQL query and manifest file to create a new registries resource.

/*+ create */
INSERT INTO digitalocean.kubernetes.registries (
data__cluster_uuids
)
SELECT
'{{ cluster_uuids }}'
;

DELETE example

Deletes the specified registries resource.

/*+ delete */
DELETE FROM digitalocean.kubernetes.registries
WHERE = '{{ }}';