gitlab

by pascaliske

Helm chartv4.0.0App 18.7.1-ce.0Verified publisher

A Helm chart for GitLab Omnibus

About this chart

gitlab

A Helm chart for GitLab Omnibus

Requirements

  • helm - Refer to their docs to get started.

Usage

To use this chart add the repo as follows:

helm repo add pascaliske https://charts.pascaliske.dev

If you had already added this repo earlier, run helm repo update to retrieve the latest versions of the packages.

To install this chart simply run the following command:

helm install gitlab pascaliske/gitlab

To uninstall this chart simply run the following command:

helm delete gitlab

Values

The following values can be used to adjust the helm chart.

KeyTypeDefaultDescription
affinityobject{}Pod-level affinity. More info here.
backups.cronJob.annotationsobject{}Additional annotations for the cronjob object.
backups.cronJob.enabledboolfalseCreate a CronJob object for automated backup creation.
backups.cronJob.failedJobsHistoryLimitint1The number of failed finished jobs to retain.
backups.cronJob.labelsobject{}Additional labels for the cronjob object.
backups.cronJob.resourcesobject{}Compute resources used by the container inside the cronjob. More info here.
backups.cronJob.schedulestring"0 3 * * 1"Schedule for automated backups.
backups.cronJob.successfulJobsHistoryLimitint3The number of successful finished jobs to retain.
backups.cronJob.suspendboolfalseEnable/disable the cron job schedule quickly.
backups.csiobject{}CSI storage volume for the media directory. Only used if type equals csi.
backups.emptyDirobject{}Temporary emptyDir volume for the media directory. Only used if type equals emptyDir or is unknown.
backups.enabledboolfalseEnable backup-related volume mounts.
backups.hostPathobject{}Host path volume for the media directory. Only used if type equals hostPath.
backups.mountPathstring"/backups"Mount path of backups inside the container.
backups.nfsobject{}NFS storage volume for the media directory. Only used if type equals nfs.
backups.persistentVolumeClaimobject{}PersistentVolumeClaim for the media directory. Only used if type equals pvc.
backups.typestring"emptyDir"Type of the target volume for the backup directory. Possible values are: hostPath, pvc, csi, nfs, emptyDir.
certificate.annotationsobject{}Additional annotations for the certificate object.
certificate.createboolfalseCreate an Certificate object for the exposed chart.
certificate.dnsNameslist[]List of subject alternative names for the certificate.
certificate.issuerRef.kindstring"ClusterIssuer"Type of the referenced certificate issuer. Can be "Issuer" or "ClusterIssuer".
certificate.issuerRef.namestring""Name of the referenced certificate issuer.
certificate.labelsobject{}Additional labels for the certificate object.
certificate.secretNamestring""Name of the secret in which the certificate will be stored. Defaults to the first item in dnsNames.
configMap.annotationsobject{}Additional annotations for the config map object.
configMap.configstring"# external_url 'https://gitlab.example.com'\n"Templated string containing the configuration of GitLab.
configMap.createbooltrueCreate a new config map object.
configMap.existingConfigMapstring""Mount path of the config map object.
configMap.keystring"gitlab.rb"Use an existing config map object.
configMap.labelsobject{}Additional labels for the config map object.
controller.annotationsobject{}Additional annotations for the controller object.
controller.enabledbooltrueCreate a workload for this chart.
controller.kindstring"Deployment"Type of the workload object.
controller.labelsobject{}Additional labels for the controller object.
controller.replicasint1The number of replicas.
controller.updateStrategy.rollingUpdate.maxSurgeint0Specifies the maximum number of Pods that can be created over the desired number of Pods.
controller.updateStrategy.rollingUpdate.maxUnavailableint1Specifies the maximum number of Pods that can be unavailable during the update process.
controller.updateStrategy.typestring"RollingUpdate"Strategy used to replace old pods.
env[0]object{"name":"TZ","value":"UTC"}Timezone for the container.
extraContainersobject{}Specify any extra containers here as dictionary items - each should have its own key.
extraInitContainersobject{}Specify any extra init containers here as dictionary items - each should have its own key.
extraObjectslist[]Specify extra objects.
extraVolumeMountslist[]Specify extra volume mounts for the default containers.
extraVolumeslist[]Specify extra volumes for the workload.
fullnameOverridestring""
healthCheck.enabledbooltrueEnable health checks for the controller.
healthCheck.whitelistlist["127.0.0.1"]Configure the internal health check whitelist of gitlab.
image.pullPolicystring"IfNotPresent"The pull policy for the controller.
image.registrystring"docker.io"The registry to pull the image from.
image.repositorystring"gitlab/gitlab-ce"The repository to pull the image from.
image.tagstring.Chart.AppVersionThe docker tag, if left empty chart's appVersion will be used.
imagePullSecretslist[]
ingressRoute.annotationsobject{}Additional annotations for the ingress route object.
ingressRoute.createboolfalseCreate an IngressRoute object for exposing this chart.
ingressRoute.entryPointslist[]List of entry points on which the ingress route will be available.
ingressRoute.labelsobject{}Additional labels for the ingress route object.
ingressRoute.middlewareslist[]List of middleware objects for the ingress route.
ingressRoute.rulestring""Matching rule for the underlying router.
ingressRoute.tlsSecretNamestring""Use an existing secret containing the TLS certificate.
nameOverridestring""
nodeSelectorobject{}Pod-level node selector. More info here.
persistentVolumeClaims.secrets.annotationsobject{}Additional annotations for the secret persistent volume claim object.
persistentVolumeClaims.secrets.createbooltrueCreate a new secret persistent volume claim object.
persistentVolumeClaims.secrets.existingPersistentVolumeClaimstring""Use an existing secret persistent volume claim object.
persistentVolumeClaims.secrets.labelsobject{}Additional labels for the secret persistent volume claim object.
persistentVolumeClaims.secrets.mountPathstring"/etc/gitlab"Mount path of the secret persistent volume claim object.
persistentVolumeClaims.secrets.sizestring"128Mi"The size of the created secret persistent volume claim object.
persistentVolumeClaims.secrets.storageClassNamestring""Storage class name for the persistent volume claim object.
persistentVolumeClaims.storage.annotationsobject{}Additional annotations for the storage persistent volume claim object.
persistentVolumeClaims.storage.createbooltrueCreate a new storage persistent volume claim object.
persistentVolumeClaims.storage.existingPersistentVolumeClaimstring""Use an existing storage persistent volume claim object.
persistentVolumeClaims.storage.labelsobject{}Additional labels for the storage persistent volume claim object.
persistentVolumeClaims.storage.mountPathstring"/var/opt/gitlab"Mount path of the storage persistent volume claim object.
persistentVolumeClaims.storage.sizestring"30Gi"The size of the created secret storage persistent volume claim object.
persistentVolumeClaims.storage.storageClassNamestring""Storage class name for the persistent volume claim object.
podSecurityContextobject{}Pod-level security attributes. More info here.
ports.http.enabledbooltrueEnable the port inside the controller and Service objects.
ports.http.nodePortstringnilThe external port used if .service.type == NodePort.
ports.http.portint80The port used as internal port and cluster-wide port if .service.type == ClusterIP.
ports.http.protocolstring"TCP"The protocol used for the service.
ports.registry.enabledbooltrueEnable the port inside the controller and Service objects.
ports.registry.nodePortstringnilThe external port used if .service.type == NodePort.
ports.registry.portint5005The port used as internal port and cluster-wide port if .service.type == ClusterIP.
ports.registry.protocolstring"TCP"The protocol used for the service.
priorityClassNamestring""Optional priority class name to be used for pods.
rbac.annotationsobject{}Additional annotations for the role and role binding objects.
rbac.createbooltrueCreate Role and RoleBinding objects.
rbac.labelsobject{}Additional labels for the role and role binding objects.
registryGarbageCollection.cronJob.annotationsobject{}Additional annotations for the cronjob object.
registryGarbageCollection.cronJob.enabledboolfalseCreate a CronJob object for automated garbage collection inside the registry.
registryGarbageCollection.cronJob.failedJobsHistoryLimitint1The number of failed finished jobs to retain.
registryGarbageCollection.cronJob.labelsobject{}Additional labels for the cronjob object.
registryGarbageCollection.cronJob.removeUntaggedManifestsboolfalseInclude untagged manifests and unreferenced layers if set to true.
registryGarbageCollection.cronJob.resourcesobject{}Compute resources used by the container inside the cronjob. More info here.
registryGarbageCollection.cronJob.schedulestring"0 3 * * 1"Schedule for automated garbage collections.
registryGarbageCollection.cronJob.successfulJobsHistoryLimitint3The number of successful finished jobs to retain.
registryGarbageCollection.cronJob.suspendboolfalseEnable/disable the cron job schedule quickly.
resourcesobject{}Compute resources used by the container. More info here.
securityContextobject{}Container-level security attributes. More info here.
service.annotationsobject{}Additional annotations for the service object.
service.clusterIPstring""ClusterIP used if service type is ClusterIP.
service.enabledbooltrueCreate a service for exposing this chart.
service.labelsobject{}Additional labels for the service object.
service.loadBalancerIPstring""LoadBalancerIP if service type is LoadBalancer.
service.loadBalancerSourceRangeslist[]Allowed addresses when service type is LoadBalancer.
service.typestring"ClusterIP"The service type used.
serviceAccount.annotationsobject{}Additional annotations for the role and role binding objects.
serviceAccount.createbooltrueCreate a ServiceAccount object.
serviceAccount.labelsobject{}Additional labels for the role and role binding objects.
serviceAccount.namestring""Specify the service account used for the controller.
tolerationslist[]Pod-level tolerations. More info here.

Maintainers

NameEmailUrl
pascaliske[email protected]https://pascaliske.dev

License

MIT – © 2026 Pascal Iske

Deploy gitlab with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has gitlab on a Hetzner server. Change the host, add apps from the marketplace, then copy the generated files. Providers and prices are samples, and nothing here is sent anywhere.

  1. Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
  2. Place the chartgitlab is pinned at v4.0.0 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
  3. ApplySave opentenant.yaml and main.tf from the console, then run the commands below.
# opentenant.yaml, main.tf and dns.tf come from the builder below
opentenant validate opentenant.yaml
terraform init && terraform apply