glpi

by EF-TECH

Helm chartv2.12.3App 12.0.2GPL-3.0Verified publisher

GLPI Helm Chart - IT Asset Management and Service Desk

About this chart

GLPI Helm Chart

GLPI is an open-source IT Asset Management, Service Desk system, and Issue Tracking System. This Helm chart simplifies the deployment of GLPI on Kubernetes.

Prerequisites

  • Kubernetes 1.21+
  • Helm 3.2.0+
  • PV provisioner support in the underlying infrastructure

Installation

helm repo add eftechcombr https://eftechcombr.github.io/glpi/
helm repo update
helm install my-glpi eftechcombr/glpi

Configuration

The following table lists the configurable parameters of the GLPI chart and their default values. For a complete reference, see values.yaml.

Global Settings

ParameterDescriptionDefault
global.namespaceNamespace for deployment (uses release namespace if empty)""
global.createNamespaceCreate the Namespace resourcefalse

GLPI Application

ParameterDescriptionDefault
glpi.versionGLPI version to deploy"12.0.2"
glpi.languageDefault language for GLPIen_US

PHP-FPM Configuration

ParameterDescriptionDefault
glpi.phpfpm.image.repositoryPHP-FPM image repositoryeftechcombr/glpi
glpi.phpfpm.image.tagPHP-FPM image tagphp-fpm-12.0.2
glpi.phpfpm.image.pullPolicyPHP-FPM image pull policyIfNotPresent
glpi.phpfpm.replicaCountNumber of PHP-FPM pods1
glpi.phpfpm.resources.limits.cpuPHP-FPM container CPU limit1000m
glpi.phpfpm.resources.limits.memoryPHP-FPM container memory limit512Mi
glpi.phpfpm.resources.requests.cpuPHP-FPM container CPU request250m
glpi.phpfpm.resources.requests.memoryPHP-FPM container memory request256Mi
glpi.phpfpm.livenessProbe.enabledEnable PHP-FPM liveness probetrue
glpi.phpfpm.readinessProbe.enabledEnable PHP-FPM readiness probetrue

Nginx Configuration

ParameterDescriptionDefault
glpi.nginx.image.repositoryNginx image repositoryeftechcombr/glpi
glpi.nginx.image.tagNginx image tagnginx-12.0.2
glpi.nginx.image.pullPolicyNginx image pull policyIfNotPresent
glpi.nginx.replicaCountNumber of Nginx pods1
glpi.nginx.resources.limits.cpuNginx container CPU limit500m
glpi.nginx.resources.limits.memoryNginx container memory limit256Mi
glpi.nginx.resources.requests.cpuNginx container CPU request100m
glpi.nginx.resources.requests.memoryNginx container memory request128Mi
glpi.nginx.livenessProbe.enabledEnable Nginx liveness probetrue
glpi.nginx.readinessProbe.enabledEnable Nginx readiness probetrue
glpi.nginx.service.typeNginx service typeClusterIP
glpi.nginx.service.portNginx service port80
glpi.nginx.service.targetPortNginx container target port8080

GLPI Paths

ParameterDescriptionDefault
glpi.paths.marketplaceMarketplace plugins directory/var/www/html/marketplace
glpi.paths.varVariable data directory/var/lib/glpi
glpi.paths.configConfiguration directory/etc/glpi/config

Persistence

ParameterDescriptionDefault
glpi.persistence.files.enabledEnable persistence for GLPI filestrue
glpi.persistence.files.storageClassFiles volume storage class""
glpi.persistence.files.accessModeFiles volume access modeReadWriteOnce
glpi.persistence.files.sizeFiles volume size10Gi
glpi.persistence.marketplace.enabledEnable persistence for marketplacetrue
glpi.persistence.marketplace.sizeMarketplace volume size2Gi
glpi.persistence.etc.enabledEnable persistence for configtrue
glpi.persistence.etc.sizeConfig volume size50Mi

Init Jobs

ParameterDescriptionDefault
glpi.jobs.verifyDir.enabledCreate required GLPI directoriestrue
glpi.jobs.dbInstall.enabledInstall GLPI database schema (fresh installs)true
glpi.jobs.dbUpgrade.enabledUpgrade GLPI database schema (upgrades)true
glpi.jobs.dbConfigure.enabledConfigure GLPI database connectiontrue
glpi.jobs.cacheConfigure.enabledConfigure GLPI cache settingstrue

CronJob

ParameterDescriptionDefault
glpi.cronjob.enabledEnable scheduled maintenance cronjobtrue
glpi.cronjob.scheduleCronJob schedule (cron format)"*/2 * * * *"

GLPI Security Context

ParameterDescriptionDefault
glpi.podSecurityContext.fsGroupPod-level fsGroup (www-data)82
glpi.securityContext.runAsNonRootRun as non-root usertrue
glpi.securityContext.runAsUserUser ID (www-data)82
glpi.securityContext.capabilities.dropDropped capabilities["ALL"]

MariaDB Configuration

MariaDB (deploys the helmforge/mariadb subchart v2.0.3). Replaces the previously inlined MariaDB StatefulSet.

Service DNS: {release-name}-mariadb.{namespace}.svc.cluster.local:3306

ParameterDescriptionDefault
mariadb.enabledDeploy internal MariaDBtrue
mariadb.architectureDeployment mode (standalone or replication)standalone
mariadb.image.repositoryMariaDB image repositorydocker.io/library/mariadb
mariadb.image.tagMariaDB image tag"12.3.2"
mariadb.image.pullPolicyMariaDB image pull policyIfNotPresent
mariadb.auth.rootPasswordMariaDB root passwordglpi
mariadb.auth.databaseDatabase name for GLPIglpi
mariadb.auth.usernameUsername for GLPIglpi
mariadb.auth.passwordPassword for GLPI userglpi
mariadb.standalone.resources.limits.cpuMariaDB CPU limit1000m
mariadb.standalone.resources.limits.memoryMariaDB memory limit2Gi
mariadb.standalone.resources.requests.cpuMariaDB CPU request250m
mariadb.standalone.resources.requests.memoryMariaDB memory request256Mi
mariadb.standalone.persistence.enabledEnable persistence for MariaDBtrue
mariadb.standalone.persistence.sizeMariaDB volume size10Gi
mariadb.service.portMariaDB service port3306
mariadb.initdb.scriptsInit scripts (e.g., timezone grant)grant-timezone.sql
mariadb.podSecurityContext.fsGroupPod-level fsGroup999
mariadb.securityContext.runAsNonRootRun as non-roottrue
mariadb.securityContext.runAsUserUser ID999

Valkey Cache Configuration

Valkey (Redis-compatible fork) replaces the previously inlined Redis deployment. It is deployed as a Helm dependency subchart from helmforge/valkey.

ParameterDescriptionDefault
valkey.enabledDeploy Valkey for cachingtrue
valkey.architectureValkey topologystandalone
valkey.image.repositoryValkey image repositorydocker.io/valkey/valkey
valkey.image.tagValkey image tag"9.1.0"
valkey.image.pullPolicyValkey image pull policyIfNotPresent
valkey.auth.enabledEnable Valkey authenticationfalse
valkey.standalone.persistence.enabledEnable persistencefalse
valkey.resources.limits.cpuValkey CPU limit500m
valkey.resources.limits.memoryValkey memory limit256Mi
valkey.resources.requests.cpuValkey CPU request100m
valkey.resources.requests.memoryValkey memory request128Mi
valkey.service.typeValkey service typeClusterIP
valkey.service.portValkey service port6379
valkey.podSecurityContext.fsGroupPod-level fsGroup1001
valkey.securityContext.runAsNonRootRun as non-roottrue
valkey.securityContext.runAsUserUser ID999

Ingress Configuration

ParameterDescriptionDefault
ingress.enabledEnable ingressfalse
ingress.classNameIngress class name""
ingress.annotationsIngress annotations{}
ingress.hostsIngress host rules[{host: glpi.example.local, paths: [{path: /, pathType: Prefix}]}]
ingress.tlsIngress TLS configuration[]

Gateway API and HTTPRoute

Gateway API support is disabled by default. Install the Gateway API CRDs and a compatible Gateway controller before enabling these resources.

Set gateway.enabled: true and provide gateway.gatewayClassName to create a Gateway. Set httpRoute.enabled: true to create an HTTPRoute targeting the chart's nginx Service. Both resources can be customized through their values, including listeners, parent references, hostnames, matches, filters, and backend references. Parent references receive the chart namespace by default; set httpRoute.parentRefs[].namespace to target a Gateway in another namespace. Existing Ingress configuration is unchanged.

Extra objects

Use extraObjects to render additional Kubernetes manifests that are not covered by dedicated chart values. Each list item is rendered as its own YAML document and supports Helm expressions, for example:

extraObjects:
  - apiVersion: gateway.networking.k8s.io/v1
    kind: GatewayClass
    metadata:
      name: example
    spec:
      controllerName: example.net/gateway-controller

The chart does not alter arbitrary object fields or namespaces; operators are responsible for ensuring that supplied objects are valid for their cluster.

External Database

ParameterDescriptionDefault
externalDatabase.hostExternal database hostname""
externalDatabase.portExternal database port3306
externalDatabase.databaseExternal database name""
externalDatabase.usernameExternal database username""
externalDatabase.passwordExternal database password""
externalDatabase.existingSecretName of an existing Secret containing DB password""

Database SSL/TLS

ParameterDescriptionDefault
database.ssl.enabledEnable SSL/TLS for database connectionfalse
database.ssl.existingSecretName of an existing Secret containing TLS files""
database.ssl.existingConfigMapName of an existing ConfigMap containing CA certificate""
database.ssl.caKeyKey in Secret/ConfigMap for CA certificate"ca.crt"
database.ssl.certKeyKey in Secret for client certificate""
database.ssl.keyKeyKey in Secret for client private key""
database.ssl.certPathMount path inside containers for TLS files"/etc/glpi/db-tls"
database.ssl.caCertInline CA certificate content (creates Secret if existingSecret unset)""
database.ssl.clientCertInline client certificate content""
database.ssl.clientKeyInline client private key content""
database.ssl.caDirect container path to CA certificate""
database.ssl.certDirect container path to client certificate""
database.ssl.keyDirect container path to client private key""
database.ssl.capathDirectory containing trusted CA certificates""
database.ssl.cipherAllowable cipher suites for SSL connection""

External Cache

ParameterDescriptionDefault
externalCache.hostExternal Redis/Valkey hostname""
externalCache.portExternal Redis/Valkey port6379
externalCache.passwordExternal Redis/Valkey password""
externalCache.tlsEnable TLS (rediss://)false

Service Account

ParameterDescriptionDefault
serviceAccount.createCreate service accounttrue
serviceAccount.automountAutomount API credentialstrue
serviceAccount.nameService account name""

Other

ParameterDescriptionDefault
imagePullSecretsImage pull secrets[]
nameOverrideOverride chart name""
fullnameOverrideOverride full name""
podAnnotationsPod annotations{}
podLabelsPod labels{}
nodeSelectorNode selector for pod assignment{}
tolerationsPod tolerations[]
affinityPod affinity rules{}

Persistence

This chart provides persistence for:

  1. Files: Main GLPI data (/var/lib/glpi)
  2. Marketplace: Plugin data (/var/www/html/marketplace)
  3. Config: GLPI configuration files (/etc/glpi/config)

If using multiple replicas for PHP-FPM, ensure your StorageClass supports ReadWriteMany (RWX).

Database

By default, the chart deploys MariaDB via the helmforge/mariadb subchart. The internal database service is reachable at {release-name}-mariadb.{namespace}.svc.cluster.local:3306.

For production, it is recommended to use an external database by setting mariadb.enabled: false and providing connection details via the externalDatabase section:

mariadb:
  enabled: false

externalDatabase:
  host: my-db-host.example.com
  port: 3306
  database: glpi
  username: glpi
  password: mySecurePassword

Database SSL/TLS Connection

To enable an encrypted TLS/SSL c

Deploy glpi with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has glpi 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 chartglpi is pinned at v2.12.3 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