common
by Atlassian
A Library Helm Chart for grouping common logic between Atlassian charts. This chart is not deployable by itself.
About this chart
Atlassian Common Library Chart
A Helm Library Chart for grouping common logic between Atlassian charts.
TL;DR
Chart.yaml
dependencies:
- name: common
version: 1.x.x # picks up any non-breaking version within 1.x.y line
repository: https://atlassian.github.io/data-center-helm-charts
Local development
helm dependency update
Product usage
apiVersion: v1
kind: ConfigMap
metadata:
name: {{ include "common.names.fullname" . }}
data:
myvalue: "Hello World"
Introduction
This chart provides a common template helpers which can be used to develop new charts using Helm package manager.
Atlassian charts are used for installing Atlassian's Jira Data Center, Confluence Data Center, and Bitbucket Data Center on Kubernetes.
Prerequisites
- Kubernetes
>=1.19.x-0 - Helm 3.3+
Parameters
The following table lists the helpers available in the library which are scoped in different sections.
Labels
| Helper identifier | Description | Expected Input |
|---|---|---|
common.labels.commonLabels | Return Kubernetes standard labels | . Chart context |
common.labels.selectorLabels | Return the selector labels | . Chart context |
Names
| Helper identifier | Description | Expected Input |
|---|---|---|
common.names.chart | Chart name plus version | . Chart context |
common.names.name | Expand the name of the chart or use .Values.nameOverride | . Chart context |
common.names.fullname | Create a default fully qualified app name | . Chart context |
Deploy common with OpenTenant
Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has common 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 chartcommon is pinned at v1.2.7 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