Skip to content
This repository has been archived by the owner on Feb 12, 2024. It is now read-only.

cetic/helm-phpLDAPadmin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Helm Chart for phpLDAPadmin

CircleCI License version

Introduction

This Helm chart installs phpLDAPadmin in a Kubernetes cluster.

Prerequisites

  • Kubernetes cluster 1.10+
  • Helm 2.8.0+
  • PV provisioner support in the underlying infrastructure.

Installation

Add Helm repository

helm repo add cetic https://cetic.github.io/helm-charts
helm repo update

Configure the chart

The following items can be set via --set flag during installation or configured by editing the values.yaml directly (you need to download the chart first).

Configure the way how to expose phpLDAPadmin service:

  • Ingress: The ingress controller must be installed in the Kubernetes cluster.
  • ClusterIP: Exposes the service on a cluster-internal IP. Choosing this value makes the service only reachable from within the cluster.
  • NodePort: Exposes the service on each Node’s IP at a static port (the NodePort). You’ll be able to contact the NodePort service, from outside the cluster, by requesting NodeIP:NodePort.
  • LoadBalancer: Exposes the service externally using a cloud provider’s load balancer.

Configure how to persist data (TODO):

  • Disable: The data does not survive the termination of a pod.
  • Persistent Volume Claim(default): A default StorageClass is needed in the Kubernetes cluster to dynamic provision the volumes. Specify another StorageClass in the storageClass or set existingClaim if you have already existing persistent volumes to use.

Install the chart

Install the phpLDAPadmin helm chart with a release name my-release:

helm install --name my-release cetic/phpldapadmin

Uninstallation

To uninstall/delete the my-release deployment:

helm delete --purge my-release

Configuration

The following table lists the configurable parameters of the phpLDAPadmin chart and the default values.

Parameter Description Default
ReplicaCount
replicaCount number of phpLDAPadmin images 1
Env
env See values.yaml nil
Image
image.repository phpldapadmin Image name osixia/phpldapadmin
image.tag phpldapadmin Image tag 0.7.1
image.pullPolicy phpldapadmin Image pull policy IfNotPresent
Service
service.type Type of service for phpldapadmin frontend LoadBalancer
service.port Port to expose service 80
service.loadBalancerIP LoadBalancerIP if service type is LoadBalancer nil
service.loadBalancerSourceRanges LoadBalancerSourceRanges nil
service.annotations Service annotations {}
Ingress
ingress.enabled Enables Ingress false
ingress.annotations Ingress annotations {}
ingress.path Path to access frontend /
ingress.hosts Ingress hosts nil
ingress.tls Ingress TLS configuration []
ReadinessProbe
readinessProbe Rediness Probe settings { "httpGet": { "path": "/", "port": http }}
LivenessProbe
livenessProbe Liveness Probe settings { "httpGet": { "path": "/", "port": http }}
Resources
resources CPU/Memory resource requests/limits {}
nodeSelector
nodeSelector nodeSelector {}
tolerations
tolerations tolerations {}
affinity
affinity affinity {}

Credits

Initially inspired from https://github.com/gengen1988/helm-phpldapadmin.

Contributing

Feel free to contribute by making a pull request.

Please read the official Contribution Guide from Helm for more information on how you can contribute to this Chart.

License

Apache License 2.0