orangehrm
OrangeHRM is a free HR management system that offers a wealth of modules to suit the needs of your business.
About this chart
OrangeHRM
OrangeHRM is a free HR management system that offers a wealth of modules to suit the needs of your business. This widely-used system is feature-rich, intuitive and provides an essential HR management platform along with free documentation and access to a broad community of users.
Azure-ready Charts with Containers from marketplace.azurecr.io
This Helm Chart has been configured to pull the Container Images from the Azure Marketplace Public Repository. The following command allows you to download and install all the charts from this repository.
$ helm repo add bitnami-azure https://marketplace.azurecr.io/helm/v1/repo
TL;DR
$ helm repo add bitnami-azure https://marketplace.azurecr.io/helm/v1/repo
$ helm install my-release bitnami-azure/orangehrm
Introduction
This chart bootstraps a OrangeHRM deployment on a Kubernetes cluster using the Helm package manager.
It also packages the Bitnami MariaDB chart which is required for bootstrapping a MariaDB deployment for the database requirements of the OrangeHRM application.
Bitnami charts can be used with Kubeapps for deployment and management of Helm Charts in clusters. This chart has been tested to work with NGINX Ingress, cert-manager, fluentd and Prometheus on top of the BKPR.
Prerequisites
- Kubernetes 1.12+
- Helm 3.1.0
- PV provisioner support in the underlying infrastructure
- ReadWriteMany volumes for deployment scaling
Installing the Chart
To install the chart with the release name my-release:
$ helm install my-release bitnami-azure/orangehrm
The command deploys OrangeHRM on the Kubernetes cluster in the default configuration. The Parameters section lists the parameters that can be configured during installation.
Tip: List all releases using
helm list
Uninstalling the Chart
To uninstall/delete the my-release deployment:
$ helm delete my-release
The command removes all the Kubernetes components associated with the chart and deletes the release.
Parameters
Global parameters
| Name | Description | Value |
|---|---|---|
global.imageRegistry | Global Docker image registry | "" |
global.imagePullSecrets | Global Docker registry secret names as an array | [] |
global.storageClass | Global StorageClass for Persistent Volume(s) | "" |
Common parameters
| Name | Description | Value |
|---|---|---|
kubeVersion | Force target Kubernetes version (using Helm capabilities if not set) | "" |
nameOverride | String to partially override orangehrm.fullname template (will maintain the release name) | "" |
fullnameOverride | String to fully override orangehrm.fullname template | "" |
extraDeploy | Array of extra objects to deploy with the release (evaluated as a template) | [] |
commonAnnotations | Common annotations to add to all OrangeHRM resources (sub-charts are not considered). Evaluated as a template | {} |
commonLabels | Common labels to add to all OrangeHRM resources (sub-charts are not considered). Evaluated as a template | {} |
OrangeHRM parameters
| Name | Description | Value |
|---|---|---|
image.registry | OrangeHRM image registry | docker.io |
image.repository | OrangeHRM image repository | bitnami/orangehrm |
image.tag | OrangeHRM Image tag (immutable tags are recommended) | 4.9.0-0-debian-10-r25 |
image.pullPolicy | OrangeHRM image pull policy | IfNotPresent |
image.pullSecrets | Specify docker-registry secret names as an array | [] |
image.debug | Specify if debug logs should be enabled | false |
hostAliases | Deployment pod host aliases | [] |
replicaCount | Number of OrangeHRM Pods to run (requires ReadWriteMany PVC support) | 1 |
orangehrmSkipInstall | Skip OrangeHRM installation wizard. Useful for migrations and restoring from SQL dump | false |
orangehrmUsername | User of the application | admin |
orangehrmPassword | Application password | "" |
orangehrmEnforcePasswordStrength | Whether the OrangeHRM password validation should use strong or medium level | true |
allowEmptyPassword | Allow DB blank passwords | true |
command | Override default container command (useful when using custom images) | [] |
args | Override default container args (useful when using custom images) | [] |
updateStrategy.type | Update strategy - only really applicable for deployments with RWO PVs attached | RollingUpdate |
extraEnvVars | An array to add extra env vars | [] |
extraEnvVarsCM | ConfigMap with extra environment variables | "" |
extraEnvVarsSecret | Secret with extra environment variables | "" |
extraVolumes | Array of extra volumes to be added to the deployment. Requires setting extraVolumeMounts | [] |
extraVolumeMounts | Array of extra volume mounts to be added to the container. Normally used with extraVolumes | [] |
initContainers | Extra init containers to add to the deployment | [] |
sidecars | Extra sidecar containers to add to the deployment | [] |
tolerations | Tolerations for pod assignment | [] |
priorityClassName | OrangeHRM pods' priorityClassName | "" |
schedulerName | Name of the k8s scheduler (other than default) | "" |
topologySpreadConstraints | Topology Spread Constraints for pod assignment | [] |
existingSecret | Use existing secret for the application password | "" |
smtpHost | SMTP host | "" |
smtpPort | SMTP port | "" |
smtpUser | SMTP user | "" |
smtpPassword | SMTP password. Ignored if smtpExistingSecret is set | "" |
smtpProtocol | SMTP Protocol (options: ssl, none) | "" |
smtpExistingSecret | Use an existing secret for the SMTP Password | "" |
containerPorts | Container ports | {} |
sessionAffinity | Control where client requests go, to the same pod or round-robin | None |
persistence.enabled | Enable persistence using PVC | true |
persistence.storageClass | OrangeHRM Data Persistent Volume Storage Class | "" |
persistence.accessModes | PVC Access Mode for OrangeHRM volume | [] |
persistence.size | PVC Storage Request for OrangeHRM volume | 8Gi |
persistence.existingClaim | A manually managed Persistent Volume Claim | "" |
persistence.hostPath | If defined, the orangehrm-data volume will mount to the specified hostPath | "" |
persistence.subPath | volumeMount subPath, use it for compatibility with previous versions of the chart | orangehrm |
persistence.annotations | Persistent Volume Claim annotations | {} |
podAffinityPreset | Pod affinity preset. Ignored if affinity is set. Allowed values: soft or hard | "" |
podAntiAffinityPreset | Pod anti-affinity preset. Ignored if affinity is set. Allowed values: soft or hard | soft |
nodeAffinityPreset.type | Node affinity preset type. Ignored if affinity is set. Allowed values: soft or hard | "" |
nodeAffinityPreset.key | Node label key to match Ignored if affinity is set. | "" |
nodeAffinityPreset.values | Node label values to match. Ignored if affinity is set. | [] |
affinity | Affinity for pod assignment | {} |
nodeSelector | Node labels for pod assignment. Evaluated as a template. | {} |
resources.requests | The requested resources for the container | {} |
resources.limits | The resources limits for the container | {} |
podSecurityContext.enabled | Enable OrangeHRM pods' Security Context | true |
podSecurityContext.fsGroup | OrangeHRM pods' group ID | 1001 |
containerSecurityContext.enabled | Enable OrangeHRM containers' Security Context | true |
containerSecurityContext.runAsUser | OrangeHRM containers' Security Context runAsUser | 1001 |
containerSecurityContext.runAsNonRoot | OrangeHRM containers' Security Context runAsNonRoot | true |
startupProbe.enabled | Enable startu |
Deploy orangehrm with OpenTenant
Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has orangehrm 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 chartorangehrm is pinned at v11.0.1 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