GitLab API icon

GitLab API

Gitlab

Actions917

Overview

This node operation updates a specific cluster within a GitLab group using the GitLab API. It is useful for managing and configuring clusters associated with groups in GitLab, such as updating cluster settings or metadata. For example, a DevOps engineer might use this node to update the configuration of a Kubernetes cluster linked to a GitLab group.

Use Case Examples

  1. Updating cluster details for a GitLab group to change its configuration or metadata.
  2. Automating cluster management tasks within GitLab groups as part of a CI/CD pipeline.

Properties

Name Meaning
Skip Authentication If set to true, the node will skip authentication for the API request.
Authentication Specifies the authentication method to use, defaulting to GitLab API authentication.
baseUrl The base URL of the GitLab instance to which the API requests are sent.
Method The HTTP method used for the API request, default is PUT for this operation.
Path Parameters Parameters used in the API request path to specify the group ID and cluster ID to update.

Output

JSON

  • response - The JSON response from the GitLab API after updating the cluster, containing updated cluster details.

Dependencies

  • GitLab API authentication credential

Troubleshooting

  • Ensure the group ID and cluster ID path parameters are correctly set and valid to avoid 404 Not Found errors.
  • Verify that the authentication credentials are valid and have sufficient permissions to update clusters in the specified GitLab group to prevent authorization errors.
  • Check the request body schema for required fields and correct data types to avoid validation errors from the API.

Links

Discussion