phabricator
Collection of open source web applications that help software companies build better software.
About this chart
Phabricator
Phabricator is a collection of open source web applications that help software companies build better software. Phabricator is built by developers for developers. Every feature is optimized around developer efficiency for however you like to work. Code Quality starts with an effective collaboration between team members.
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/phabricator
Introduction
This chart bootstraps a Phabricator 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 Phabricator 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/phabricator
The command deploys Phabricator 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 |
|---|---|---|
nameOverride | String to partially override common.names.fullname template (will maintain the release name) | "" |
fullnameOverride | String to fully override common.names.fullname template | "" |
commonLabels | Add labels to all the deployed resources | {} |
commonAnnotations | Add annotations to all the deployed resources | {} |
kubeVersion | Force target Kubernetes version (using Helm capabilities if not set) | "" |
clusterDomain | Kubernetes Cluster Domain | cluster.local |
extraDeploy | Extra objects to deploy (value evaluated as a template) | [] |
Phabricator parameters
| Name | Description | Value |
|---|---|---|
image.registry | Phabricator image registry | docker.io |
image.repository | Phabricator image repository | bitnami/phabricator |
image.tag | Phabricator image tag (immutable tags are recommended) | 2021.26.0-debian-10-r11 |
image.pullPolicy | Image pull policy | IfNotPresent |
image.pullSecrets | Specify docker-registry secret names as an array | [] |
image.debug | Specify if debug logs should be enabled | false |
phabricatorUsername | Phabricator admin user | user |
phabricatorPassword | Admin user password | "" |
phabricatorEmail | Admin user email | [email protected] |
phabricatorFirstName | Admin user first name | First Name |
phabricatorLastName | Admin user last name | Last Name |
phabricatorHost | Phabricator host to create application URLs | "" |
phabricatorAlternateFileDomain | Phabricator alternate domain to upload files | "" |
phabricatorEnableHttps | Configure Phabricator to build application URLs using https | true |
phabricatorUseLFS | Configure Phabricator to use GIT Large File Storage (LFS) | false |
phabricatorGitSSH | Configure a self-hosted GIT repository with SSH authentication | false |
phabricatorEnablePygments | Enable syntax highlighting using Pygments | true |
phabricatorSkipInstall | Skip the initial bootstrapping for the application | false |
smtpHost | SMTP mail delivery host | "" |
smtpPort | SMTP mail delivery port | "" |
smtpUser | SMTP mail delivery user | "" |
smtpPassword | SMTP mail delivery password | "" |
smtpProtocol | SMTP mail delivery protocol [ssl, tls] | "" |
command | Override default container command (useful when using custom images) | [] |
args | Override default container args (useful when using custom images) | [] |
extraEnvVars | An array to add extra env vars | [] |
extraEnvVarsCM | Name of existing ConfigMap containing extra environment variables | "" |
extraEnvVarsSecret | Name of existing Secret containing extra environment variables | "" |
Phabricator deployment parameters
| Name | Description | Value |
|---|---|---|
updateStrategy.type | StrategyType | RollingUpdate |
containerPorts | Phabricator container ports to open | {} |
podSecurityContext.enabled | Enable Phabricator pods' Security Context | true |
podSecurityContext.fsGroup | Group ID for the volumes of the pod | 1001 |
containerSecurityContext.enabled | Enable Phabricator containers' SecurityContext | true |
containerSecurityContext.runAsUser | User ID for the container | 1001 |
resources.limits | The resources limits for the container | {} |
resources.requests | The requested resources for the container | {} |
livenessProbe.enabled | Enable livenessProbe | true |
livenessProbe.path | Request path for livenessProbe | /auth/ |
livenessProbe.initialDelaySeconds | Initial delay seconds for livenessProbe | 180 |
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 | Request path for readinessProbe | /auth/ |
readinessProbe.initialDelaySeconds | Initial delay seconds for readinessProbe | 30 |
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 | Request path for startupProbe | /auth/ |
startupProbe.initialDelaySeconds | Initial delay seconds for startupProbe | 0 |
startupProbe.periodSeconds | Period seconds for startupProbe | 10 |
startupProbe.timeoutSeconds | Timeout seconds for startupProbe | 3 |
startupProbe.failureThreshold | Failure threshold for startupProbe | 20 |
startupProbe.successThreshold | Success threshold for startupProbe | 1 |
customLivenessProbe | Override default liveness probe | {} |
customReadinessProbe | Override default readiness probe | {} |
customStartupProbe | Custom Startup probe for Phabricator | {} |
podLabels | Extra labels for Phabricator pods | {} |
podAnnotations | Annotations for Phabricator 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 |
| `nodeAffinityPre |
Deploy phabricator with OpenTenant
Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has phabricator 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 chartphabricator is pinned at v11.0.26 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