common

by Atlassian

Helm chartv1.2.7App 1.2.7Verified publisherOfficial

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 identifierDescriptionExpected Input
common.labels.commonLabelsReturn Kubernetes standard labels. Chart context
common.labels.selectorLabelsReturn the selector labels. Chart context

Names

Helper identifierDescriptionExpected Input
common.names.chartChart name plus version. Chart context
common.names.nameExpand the name of the chart or use .Values.nameOverride. Chart context
common.names.fullnameCreate 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.

  1. Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
  2. Place the chartcommon is pinned at v1.2.7 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