glpi
by EF-TECH
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
| Parameter | Description | Default |
|---|---|---|
global.namespace | Namespace for deployment (uses release namespace if empty) | "" |
global.createNamespace | Create the Namespace resource | false |
GLPI Application
| Parameter | Description | Default |
|---|---|---|
glpi.version | GLPI version to deploy | "12.0.2" |
glpi.language | Default language for GLPI | en_US |
PHP-FPM Configuration
| Parameter | Description | Default |
|---|---|---|
glpi.phpfpm.image.repository | PHP-FPM image repository | eftechcombr/glpi |
glpi.phpfpm.image.tag | PHP-FPM image tag | php-fpm-12.0.2 |
glpi.phpfpm.image.pullPolicy | PHP-FPM image pull policy | IfNotPresent |
glpi.phpfpm.replicaCount | Number of PHP-FPM pods | 1 |
glpi.phpfpm.resources.limits.cpu | PHP-FPM container CPU limit | 1000m |
glpi.phpfpm.resources.limits.memory | PHP-FPM container memory limit | 512Mi |
glpi.phpfpm.resources.requests.cpu | PHP-FPM container CPU request | 250m |
glpi.phpfpm.resources.requests.memory | PHP-FPM container memory request | 256Mi |
glpi.phpfpm.livenessProbe.enabled | Enable PHP-FPM liveness probe | true |
glpi.phpfpm.readinessProbe.enabled | Enable PHP-FPM readiness probe | true |
Nginx Configuration
| Parameter | Description | Default |
|---|---|---|
glpi.nginx.image.repository | Nginx image repository | eftechcombr/glpi |
glpi.nginx.image.tag | Nginx image tag | nginx-12.0.2 |
glpi.nginx.image.pullPolicy | Nginx image pull policy | IfNotPresent |
glpi.nginx.replicaCount | Number of Nginx pods | 1 |
glpi.nginx.resources.limits.cpu | Nginx container CPU limit | 500m |
glpi.nginx.resources.limits.memory | Nginx container memory limit | 256Mi |
glpi.nginx.resources.requests.cpu | Nginx container CPU request | 100m |
glpi.nginx.resources.requests.memory | Nginx container memory request | 128Mi |
glpi.nginx.livenessProbe.enabled | Enable Nginx liveness probe | true |
glpi.nginx.readinessProbe.enabled | Enable Nginx readiness probe | true |
glpi.nginx.service.type | Nginx service type | ClusterIP |
glpi.nginx.service.port | Nginx service port | 80 |
glpi.nginx.service.targetPort | Nginx container target port | 8080 |
GLPI Paths
| Parameter | Description | Default |
|---|---|---|
glpi.paths.marketplace | Marketplace plugins directory | /var/www/html/marketplace |
glpi.paths.var | Variable data directory | /var/lib/glpi |
glpi.paths.config | Configuration directory | /etc/glpi/config |
Persistence
| Parameter | Description | Default |
|---|---|---|
glpi.persistence.files.enabled | Enable persistence for GLPI files | true |
glpi.persistence.files.storageClass | Files volume storage class | "" |
glpi.persistence.files.accessMode | Files volume access mode | ReadWriteOnce |
glpi.persistence.files.size | Files volume size | 10Gi |
glpi.persistence.marketplace.enabled | Enable persistence for marketplace | true |
glpi.persistence.marketplace.size | Marketplace volume size | 2Gi |
glpi.persistence.etc.enabled | Enable persistence for config | true |
glpi.persistence.etc.size | Config volume size | 50Mi |
Init Jobs
| Parameter | Description | Default |
|---|---|---|
glpi.jobs.verifyDir.enabled | Create required GLPI directories | true |
glpi.jobs.dbInstall.enabled | Install GLPI database schema (fresh installs) | true |
glpi.jobs.dbUpgrade.enabled | Upgrade GLPI database schema (upgrades) | true |
glpi.jobs.dbConfigure.enabled | Configure GLPI database connection | true |
glpi.jobs.cacheConfigure.enabled | Configure GLPI cache settings | true |
CronJob
| Parameter | Description | Default |
|---|---|---|
glpi.cronjob.enabled | Enable scheduled maintenance cronjob | true |
glpi.cronjob.schedule | CronJob schedule (cron format) | "*/2 * * * *" |
GLPI Security Context
| Parameter | Description | Default |
|---|---|---|
glpi.podSecurityContext.fsGroup | Pod-level fsGroup (www-data) | 82 |
glpi.securityContext.runAsNonRoot | Run as non-root user | true |
glpi.securityContext.runAsUser | User ID (www-data) | 82 |
glpi.securityContext.capabilities.drop | Dropped 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
| Parameter | Description | Default |
|---|---|---|
mariadb.enabled | Deploy internal MariaDB | true |
mariadb.architecture | Deployment mode (standalone or replication) | standalone |
mariadb.image.repository | MariaDB image repository | docker.io/library/mariadb |
mariadb.image.tag | MariaDB image tag | "12.3.2" |
mariadb.image.pullPolicy | MariaDB image pull policy | IfNotPresent |
mariadb.auth.rootPassword | MariaDB root password | glpi |
mariadb.auth.database | Database name for GLPI | glpi |
mariadb.auth.username | Username for GLPI | glpi |
mariadb.auth.password | Password for GLPI user | glpi |
mariadb.standalone.resources.limits.cpu | MariaDB CPU limit | 1000m |
mariadb.standalone.resources.limits.memory | MariaDB memory limit | 2Gi |
mariadb.standalone.resources.requests.cpu | MariaDB CPU request | 250m |
mariadb.standalone.resources.requests.memory | MariaDB memory request | 256Mi |
mariadb.standalone.persistence.enabled | Enable persistence for MariaDB | true |
mariadb.standalone.persistence.size | MariaDB volume size | 10Gi |
mariadb.service.port | MariaDB service port | 3306 |
mariadb.initdb.scripts | Init scripts (e.g., timezone grant) | grant-timezone.sql |
mariadb.podSecurityContext.fsGroup | Pod-level fsGroup | 999 |
mariadb.securityContext.runAsNonRoot | Run as non-root | true |
mariadb.securityContext.runAsUser | User ID | 999 |
Valkey Cache Configuration
Valkey (Redis-compatible fork) replaces the previously inlined Redis deployment. It is deployed as a Helm dependency subchart from helmforge/valkey.
| Parameter | Description | Default |
|---|---|---|
valkey.enabled | Deploy Valkey for caching | true |
valkey.architecture | Valkey topology | standalone |
valkey.image.repository | Valkey image repository | docker.io/valkey/valkey |
valkey.image.tag | Valkey image tag | "9.1.0" |
valkey.image.pullPolicy | Valkey image pull policy | IfNotPresent |
valkey.auth.enabled | Enable Valkey authentication | false |
valkey.standalone.persistence.enabled | Enable persistence | false |
valkey.resources.limits.cpu | Valkey CPU limit | 500m |
valkey.resources.limits.memory | Valkey memory limit | 256Mi |
valkey.resources.requests.cpu | Valkey CPU request | 100m |
valkey.resources.requests.memory | Valkey memory request | 128Mi |
valkey.service.type | Valkey service type | ClusterIP |
valkey.service.port | Valkey service port | 6379 |
valkey.podSecurityContext.fsGroup | Pod-level fsGroup | 1001 |
valkey.securityContext.runAsNonRoot | Run as non-root | true |
valkey.securityContext.runAsUser | User ID | 999 |
Ingress Configuration
| Parameter | Description | Default |
|---|---|---|
ingress.enabled | Enable ingress | false |
ingress.className | Ingress class name | "" |
ingress.annotations | Ingress annotations | {} |
ingress.hosts | Ingress host rules | [{host: glpi.example.local, paths: [{path: /, pathType: Prefix}]}] |
ingress.tls | Ingress 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
| Parameter | Description | Default |
|---|---|---|
externalDatabase.host | External database hostname | "" |
externalDatabase.port | External database port | 3306 |
externalDatabase.database | External database name | "" |
externalDatabase.username | External database username | "" |
externalDatabase.password | External database password | "" |
externalDatabase.existingSecret | Name of an existing Secret containing DB password | "" |
Database SSL/TLS
| Parameter | Description | Default |
|---|---|---|
database.ssl.enabled | Enable SSL/TLS for database connection | false |
database.ssl.existingSecret | Name of an existing Secret containing TLS files | "" |
database.ssl.existingConfigMap | Name of an existing ConfigMap containing CA certificate | "" |
database.ssl.caKey | Key in Secret/ConfigMap for CA certificate | "ca.crt" |
database.ssl.certKey | Key in Secret for client certificate | "" |
database.ssl.keyKey | Key in Secret for client private key | "" |
database.ssl.certPath | Mount path inside containers for TLS files | "/etc/glpi/db-tls" |
database.ssl.caCert | Inline CA certificate content (creates Secret if existingSecret unset) | "" |
database.ssl.clientCert | Inline client certificate content | "" |
database.ssl.clientKey | Inline client private key content | "" |
database.ssl.ca | Direct container path to CA certificate | "" |
database.ssl.cert | Direct container path to client certificate | "" |
database.ssl.key | Direct container path to client private key | "" |
database.ssl.capath | Directory containing trusted CA certificates | "" |
database.ssl.cipher | Allowable cipher suites for SSL connection | "" |
External Cache
| Parameter | Description | Default |
|---|---|---|
externalCache.host | External Redis/Valkey hostname | "" |
externalCache.port | External Redis/Valkey port | 6379 |
externalCache.password | External Redis/Valkey password | "" |
externalCache.tls | Enable TLS (rediss://) | false |
Service Account
| Parameter | Description | Default |
|---|---|---|
serviceAccount.create | Create service account | true |
serviceAccount.automount | Automount API credentials | true |
serviceAccount.name | Service account name | "" |
Other
| Parameter | Description | Default |
|---|---|---|
imagePullSecrets | Image pull secrets | [] |
nameOverride | Override chart name | "" |
fullnameOverride | Override full name | "" |
podAnnotations | Pod annotations | {} |
podLabels | Pod labels | {} |
nodeSelector | Node selector for pod assignment | {} |
tolerations | Pod tolerations | [] |
affinity | Pod affinity rules | {} |
Persistence
This chart provides persistence for:
- Files: Main GLPI data (
/var/lib/glpi) - Marketplace: Plugin data (
/var/www/html/marketplace) - 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.
- Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
- Place the chartglpi is pinned at v2.12.3 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
- 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