GitLab
Overview
GitLab is available as an add-on within Ankra's platform, providing a complete DevOps platform that integrates planning, building, deploying, securing, and monitoring in a single application. GitLab simplifies collaboration across teams by offering a unified data store, user interface, and permission model across the DevOps lifecycle.
Configuration Options
The GitLab add-on offers configurable inputs that allow you to customize the deployment for your organization's specific needs. Below are the available inputs:
Inputs
-
Helm Chart Version
This input sets the version of the GitLab Helm chart to deploy.- Default:
8.4.2
- Options:
8.4.2
(default)
Example:
helm_chart_version: "8.4.2"
- Default:
-
GitLab Domain
This input sets the domain name for the GitLab instance.Example:
gitlab_domain: "gitlab.example.com"
-
Ingress DNS Target
This input defines the DNS target for the GitLab instance ingress. By default, this is set to the load balancer DNS name.- Default:
$LOAD_BALANCER_DNS_NAME
Example:
ingress_dns_target: "$LOAD_BALANCER_DNS_NAME"
- Default:
-
Ingress TLS Provider
This input specifies the TLS provider for securing the ingress.- Default:
letsencrypt
- Options:
letsencrypt
(default)cloudflare
Example:
ingress_tls_provider: "letsencrypt"
- Default:
Usage
Deploying GitLab
To deploy GitLab in your Kubernetes cluster using Ankra, follow these steps:
-
Access the Add-ons Section
In Ankra's platform, navigate to the Add-ons section and select GitLab from the list of available add-ons. -
Configure Inputs
You will be prompted to configure the following inputs:- Helm Chart Version: Set the version of the GitLab Helm chart to install.
- GitLab Domain: Define the domain name for the GitLab instance.
- Ingress DNS Target: Set the DNS target for the GitLab ingress.
- Ingress TLS Provider: Choose the TLS provider (e.g., Let's Encrypt or Cloudflare).
Example configuration:
helm_chart_version: "8.4.2"
gitlab_domain: "gitlab.example.com"
ingress_dns_target: "$LOAD_BALANCER_DNS_NAME"
ingress_tls_provider: "letsencrypt" -
Access
You can gain access from the URL you have provided during setup. You can get started with the admin account by extracting the admin-credentials secret and decode the secret data.