redmine

by [riftbit]

Helm chartv17.0.8App 4.2.2Verified publisher

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

NameDescriptionValue
global.imageRegistryGlobal Docker image registry""
global.imagePullSecretsGlobal Docker registry secret names as an array[]
global.storageClassGlobal StorageClass for Persistent Volume(s)""

Common parameters

NameDescriptionValue
kubeVersionOverride Kubernetes version""
nameOverrideString to partially override common.names.fullname""
fullnameOverrideString to fully override common.names.fullname""
commonLabelsLabels to add to all deployed objects{}
commonAnnotationsAnnotations to add to all deployed objects{}
extraDeployArray of extra objects to deploy with the release[]
image.registryRedmine image registrydocker.io
image.repositoryRedmine image repositorybitnami/redmine
image.tagRedmine image tag (immutable tags are recommended)4.2.2-debian-10-r42
image.pullPolicyRedmine image pull policyIfNotPresent
image.pullSecretsRedmine image pull secrets[]
image.debugEnable image debug modefalse

Redmine Configuration parameters

NameDescriptionValue
redmineUsernameRedmine usernameuser
redminePasswordRedmine user password""
redmineEmailRedmine user email[email protected]
redmineLanguageRedmine default data languageen
customPostInitScriptsCustom post-init.d user scripts{}
smtpHostSMTP server host""
smtpPortSMTP server port""
smtpUserSMTP username""
smtpPasswordSMTP user password""
smtpProtocolSMTP protocol""
existingSecretName of existing secret containing Redmine credentials""
smtpExistingSecretThe name of an existing secret with SMTP credentials""
allowEmptyPasswordAllow the container to be started with blank passwordsfalse
commandOverride default container command (useful when using custom images)[]
argsOverride default container args (useful when using custom images)[]
extraEnvVarsArray with extra environment variables to add to the Redmine container[]
extraEnvVarsCMName of existing ConfigMap containing extra env vars""
extraEnvVarsSecretName of existing Secret containing extra env vars""

Redmine deployment parameters

NameDescriptionValue
replicaCountNumber of Redmine replicas to deploy1
updateStrategy.typeRedmine deployment strategy typeRollingUpdate
updateStrategy.rollingUpdateRedmine deployment rolling update configuration parameters{}
schedulerNameAlternate scheduler""
serviceAccount.createSpecifies whether a ServiceAccount should be createdfalse
serviceAccount.nameThe name of the ServiceAccount to create. Defaults to the redmine.fullname macro""
hostAliasesRedmine pod host aliases[]
extraVolumesOptionally specify extra list of additional volumes for Redmine pods[]
extraVolumeMountsOptionally specify extra list of additional volumeMounts for Redmine container(s)[]
sidecarsAdd additional sidecar containers to the Redmine pod[]
initContainersAdd additional init containers to the Redmine pods[]
podLabelsExtra labels for Redmine pods{}
podAnnotationsAnnotations for Redmine pods{}
podAffinityPresetPod affinity preset. Ignored if affinity is set. Allowed values: soft or hard""
podAntiAffinityPresetPod anti-affinity preset. Ignored if affinity is set. Allowed values: soft or hardsoft
nodeAffinityPreset.typeNode affinity preset type. Ignored if affinity is set. Allowed values: soft or hard""
nodeAffinityPreset.keyNode label key to match. Ignored if affinity is set""
nodeAffinityPreset.valuesNode label values to match. Ignored if affinity is set[]
affinityAffinity for pod assignment{}
nodeSelectorNode labels for pod assignment{}
tolerationsTolerations for pod assignment[]
resources.limitsThe resources limits for the Redmine container{}
resources.requestsThe requested resources for the Redmine container{}
containerPortRedmine HTTP container port3000
podSecurityContext.enabledEnabled Redmine pods' Security Contextfalse
podSecurityContext.fsGroupSet Redmine pod's Security Context fsGroup1001
containerSecurityContext.enabledEnabled Redmine containers' Security Contextfalse
containerSecurityContext.runAsUserSet Redmine container's Security Context runAsUser1001
livenessProbe.enabledEnable livenessProbetrue
livenessProbe.pathPath for to check for livenessProbe/
livenessProbe.initialDelaySecondsInitial delay seconds for livenessProbe300
livenessProbe.periodSecondsPeriod seconds for livenessProbe10
livenessProbe.timeoutSecondsTimeout seconds for livenessProbe5
livenessProbe.failureThresholdFailure threshold for livenessProbe6
livenessProbe.successThresholdSuccess threshold for livenessProbe1
readinessProbe.enabledEnable readinessProbetrue
readinessProbe.pathPath to check for readinessProbe/
readinessProbe.initialDelaySecondsInitial delay seconds for readinessProbe5
readinessProbe.periodSecondsPeriod seconds for readinessProbe10
readinessProbe.timeoutSecondsTimeout seconds for readinessProbe5
readinessProbe.failureThresholdFailure threshold for readinessProbe6
readinessProbe.successThresholdSuccess threshold for readinessProbe1
startupProbe.enabledEnable startupProbefalse
startupProbe.pathPath to check for startupProbe/
startupProbe.initialDelaySecondsInitial delay seconds for startupProbe300
startupProbe.periodSecondsPeriod seconds for startupProbe10
startupProbe.timeoutSecondsTimeout seconds for startupProbe5
startupProbe.failureThresholdFailure 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.

  1. Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
  2. Place the chartredmine is pinned at v17.0.8 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
  3. 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