Skip to content

Latest commit

 

History

History
executable file
·
109 lines (81 loc) · 9.64 KB

README.md

File metadata and controls

executable file
·
109 lines (81 loc) · 9.64 KB

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.

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.ingressClassName Ingress class name; required for kubernetes 1.18+ nil
ingress.path Path to access frontend /
ingress.hosts Ingress hosts nil
ingress.tls Ingress TLS configuration []
Init Containers
initContainers Init containers to add to the application []
Volume Mounts
volumeMounts Additional volumeMounts to the application main container []
Volumes
volumes Additional volumes to the application pod []
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