GitLab API icon

GitLab API

Gitlab

Actions917

Overview

This node operation authorizes Helm charts for a specific project and Helm channel in GitLab. It is useful for managing Helm package permissions within GitLab projects, allowing users to programmatically authorize access to Helm charts in a given channel, such as 'stable'. This can be applied in CI/CD pipelines or automated deployment workflows where Helm chart authorization is required.

Use Case Examples

  1. Authorize Helm charts for a project with ID 123 in the 'stable' Helm channel to enable deployment automation.
  2. Automate Helm chart authorization in GitLab projects as part of a Helm package management process.

Properties

Name Meaning
Skip Authentication Option to skip authentication for the request.
Authentication Type of authentication used, defaulting to GitLab API key authentication.
baseUrl Base URL for the GitLab instance, defaulting to https://gitlab.com.
Method HTTP method to use for the request, default is GET but POST is used for this operation.
Path Parameters Parameters for the API path including project ID and Helm channel name.

Output

JSON

  • statusCode - HTTP status code of the authorization request response.
  • body - Response body containing the result of the Helm charts authorization.

Dependencies

  • GitLab API key credential for authentication

Troubleshooting

  • Ensure the project ID and Helm channel parameters are correctly set and valid.
  • Verify that the GitLab API key has sufficient permissions to authorize Helm charts for the project.
  • Check network connectivity and base URL configuration if requests fail to reach GitLab.
  • Common error messages include 401 Unauthorized (invalid or missing API key) and 404 Not Found (invalid project ID or channel).

Links

Discussion