redmine
by [riftbit]
A flexible project management web application.
About this chart
Redmine
Redmine is a free and open source, web-based project management and issue tracking tool.
TL;DR
$ helm repo add bitnami https://charts.bitnami.com/bitnami
$ helm install my-release bitnami/redmine
Introduction
This chart bootstraps a Redmine deployment on a Kubernetes cluster using the Helm package manager.
It also packages the Bitnami MariaDB chart and the PostgreSQL chart which are required for bootstrapping a MariaDB/PostgreSQL deployment for the database requirements of the Redmine 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/redmine
The command deploys Redmine 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.
Using PostgreSQL instead of MariaDB
This chart includes the option to use a PostgreSQL database for Redmine instead of MariaDB. To use this, set the databaseType parameter to postgresql:
helm install my-release bitnami/redmine --set databaseType=postgresql
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 | Override Kubernetes version | "" |
nameOverride | String to partially override common.names.fullname | "" |
fullnameOverride | String to fully override common.names.fullname | "" |
commonLabels | Labels to add to all deployed objects | {} |
commonAnnotations | Annotations to add to all deployed objects | {} |
extraDeploy | Array of extra objects to deploy with the release | [] |
image.registry | Redmine image registry | docker.io |
image.repository | Redmine image repository | bitnami/redmine |
image.tag | Redmine image tag (immutable tags are recommended) | 4.2.2-debian-10-r42 |
image.pullPolicy | Redmine image pull policy | IfNotPresent |
image.pullSecrets | Redmine image pull secrets | [] |
image.debug | Enable image debug mode | false |
Redmine Configuration parameters
| Name | Description | Value |
|---|---|---|
redmineUsername | Redmine username | user |
redminePassword | Redmine user password | "" |
redmineEmail | Redmine user email | [email protected] |
redmineLanguage | Redmine default data language | en |
customPostInitScripts | Custom post-init.d user scripts | {} |
smtpHost | SMTP server host | "" |
smtpPort | SMTP server port | "" |
smtpUser | SMTP username | "" |
smtpPassword | SMTP user password | "" |
smtpProtocol | SMTP protocol | "" |
existingSecret | Name of existing secret containing Redmine credentials | "" |
smtpExistingSecret | The name of an existing secret with SMTP credentials | "" |
allowEmptyPassword | Allow the container to be started with blank passwords | false |
command | Override default container command (useful when using custom images) | [] |
args | Override default container args (useful when using custom images) | [] |
extraEnvVars | Array with extra environment variables to add to the Redmine container | [] |
extraEnvVarsCM | Name of existing ConfigMap containing extra env vars | "" |
extraEnvVarsSecret | Name of existing Secret containing extra env vars | "" |
Redmine deployment parameters
| Name | Description | Value |
|---|---|---|
replicaCount | Number of Redmine replicas to deploy | 1 |
updateStrategy.type | Redmine deployment strategy type | RollingUpdate |
updateStrategy.rollingUpdate | Redmine deployment rolling update configuration parameters | {} |
schedulerName | Alternate scheduler | "" |
serviceAccount.create | Specifies whether a ServiceAccount should be created | false |
serviceAccount.name | The name of the ServiceAccount to create. Defaults to the redmine.fullname macro | "" |
hostAliases | Redmine pod host aliases | [] |
extraVolumes | Optionally specify extra list of additional volumes for Redmine pods | [] |
extraVolumeMounts | Optionally specify extra list of additional volumeMounts for Redmine container(s) | [] |
sidecars | Add additional sidecar containers to the Redmine pod | [] |
initContainers | Add additional init containers to the Redmine pods | [] |
podLabels | Extra labels for Redmine pods | {} |
podAnnotations | Annotations for Redmine pods | {} |
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 | {} |
tolerations | Tolerations for pod assignment | [] |
resources.limits | The resources limits for the Redmine container | {} |
resources.requests | The requested resources for the Redmine container | {} |
containerPort | Redmine HTTP container port | 3000 |
podSecurityContext.enabled | Enabled Redmine pods' Security Context | false |
podSecurityContext.fsGroup | Set Redmine pod's Security Context fsGroup | 1001 |
containerSecurityContext.enabled | Enabled Redmine containers' Security Context | false |
containerSecurityContext.runAsUser | Set Redmine container's Security Context runAsUser | 1001 |
livenessProbe.enabled | Enable livenessProbe | true |
livenessProbe.path | Path for to check for livenessProbe | / |
livenessProbe.initialDelaySeconds | Initial delay seconds for livenessProbe | 300 |
livenessProbe.periodSeconds | Period seconds for livenessProbe | 10 |
livenessProbe.timeoutSeconds | Timeout seconds for livenessProbe | 5 |
livenessProbe.failureThreshold | Failure threshold for livenessProbe | 6 |
livenessProbe.successThreshold | Success threshold for livenessProbe | 1 |
readinessProbe.enabled | Enable readinessProbe | true |
readinessProbe.path | Path to check for readinessProbe | / |
readinessProbe.initialDelaySeconds | Initial delay seconds for readinessProbe | 5 |
readinessProbe.periodSeconds | Period seconds for readinessProbe | 10 |
readinessProbe.timeoutSeconds | Timeout seconds for readinessProbe | 5 |
readinessProbe.failureThreshold | Failure threshold for readinessProbe | 6 |
readinessProbe.successThreshold | Success threshold for readinessProbe | 1 |
startupProbe.enabled | Enable startupProbe | false |
startupProbe.path | Path to check for startupProbe | / |
startupProbe.initialDelaySeconds | Initial delay seconds for startupProbe | 300 |
startupProbe.periodSeconds | Period seconds for startupProbe | 10 |
startupProbe.timeoutSeconds | Timeout seconds for startupProbe | 5 |
startupProbe.failureThreshold | Failure threshold for startupProbe |
Deploy redmine with OpenTenant
Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has redmine 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 chartredmine is pinned at v17.0.8 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