GitLab API icon

GitLab API

Gitlab

Actions880

Overview

This node operation authorizes Helm charts for a specific project and Helm channel in GitLab. It is useful for managing access control to Helm package charts within a GitLab project, ensuring that only authorized users or systems can interact with these charts. For example, a DevOps engineer might use this node to programmatically authorize Helm charts during a CI/CD pipeline to automate deployment processes.

Use Case Examples

  1. Authorize Helm charts for project ID 123 on the 'stable' Helm channel to control access during automated deployments.
  2. Use this node to integrate Helm chart authorization into GitLab-based package management workflows.

Properties

Name Meaning
Skip Authentication Option to skip authentication for the request, useful for public or unauthenticated access scenarios.
Authentication Specifies the authentication method to use, defaulting to GitLab API authentication.
baseUrl The base URL of the GitLab instance, defaulting to https://gitlab.com.
Method HTTP method to use for the request, default is GET but can be changed to POST, PUT, DELETE, HEAD, or PATCH.
Path Parameters Parameters to specify the project ID and Helm channel for the authorization request.

Output

JSON

  • statusCode - HTTP response status code indicating the result of the authorization request.
  • body - The response body containing details about the authorization result or any error messages.

Dependencies

  • GitLab API authentication token or credentials

Troubleshooting

  • Ensure the project ID and Helm channel parameters are correctly set and valid to avoid 404 or 400 errors.
  • Verify that the authentication credentials are valid and have sufficient permissions to authorize Helm charts in the specified project.
  • Check the base URL if using a self-hosted GitLab instance to ensure the request targets the correct server.

Links

Discussion