bamboo

by Atlassian

Helm chartv2.0.22App 13.0.2Verified publisherOfficial

A chart for installing Bamboo Data Center on Kubernetes

About this chart

bamboo

A chart for installing Bamboo Data Center on Kubernetes

Homepage: https://www.atlassian.com/software/bamboo

Source Code

Requirements

Kubernetes: >=1.21.x-0

RepositoryNameVersion
https://atlassian.github.io/data-center-helm-chartscommon1.2.7

Values

KeyTypeDefaultDescription
additionalConfigMapslist[]Create additional ConfigMaps with given names, keys and content. Ther Helm release name will be used as a prefix for a ConfigMap name, fileName is used as subPath
additionalContainerslist[]Additional container definitions that will be added to all Bamboo pods
additionalFileslist[]Additional existing ConfigMaps and Secrets not managed by Helm that should be mounted into service container. Configuration details below (camelCase is important!): 'name' - References existing ConfigMap or secret name. 'type' - 'configMap' or 'secret' 'key' - The file name. 'mountPath' - The destination directory in a container. VolumeMount and Volumes are added with this name and index position, for example; custom-config-0, keystore-2
additionalInitContainerslist[]Additional initContainer definitions that will be added to all Bamboo pods
additionalLabelsobject{}Additional labels that should be applied to all resources
affinityobject{}Standard K8s affinities that will be applied to all Bamboo pods
atlassianAnalyticsAndSupport.analytics.enabledbooltrueMount ConfigMap with selected Helm chart values as a JSON which DC products will read and send analytics events to Atlassian data pipelines
atlassianAnalyticsAndSupport.helmValues.enabledbooltrueMount ConfigMap with selected Helm chart values as a YAML file which can be optionally including to support.zip
bamboo.accessLog.localHomeSubPathstring"log"The subdirectory within the local-home volume where access logs should be stored.
bamboo.accessLog.mountPathstring"/opt/atlassian/bamboo/logs"The path within the Bamboo container where the local-home volume should be mounted in order to capture access logs.
bamboo.additionalAnnotationsobject{}Defines additional annotations to the Bamboo StateFulSet. This might be required when deploying using a GitOps approach
bamboo.additionalBundledPluginslist[]Specifies a list of additional Bamboo plugins that should be added to the Bamboo container. Note plugins installed via this method will appear as bundled plugins rather than user plugins. These should be specified in the same manner as the 'additionalLibraries' property. Additional details: https://atlassian.github.io/data-center-helm-charts/examples/external_libraries/EXTERNAL_LIBS/ NOTE: only .jar files can be loaded using this approach. OBR's can be extracted (unzipped) to access the associated .jar An alternative to this method is to install the plugins via "Manage Apps" in the product system administration UI.
bamboo.additionalCertificatesobject{"customCmd":null,"initContainer":{"resources":{},"securityContext":{}},"secretList":[],"secretName":null}Certificates to be added to Java truststore. Provide reference to a secret that contains the certificates
bamboo.additionalCertificates.customCmdstringnilCustom command to be executed in the init container to import certificates
bamboo.additionalCertificates.initContainer.resourcesobject{}Resources allocated to the import-certs init container
bamboo.additionalCertificates.initContainer.securityContextobject{}Custom SecurityContext for the import-certs init container
bamboo.additionalCertificates.secretListlist[]A list of secrets with their respective keys holding certificates to be added to the Java truststore. It is mandatory to specify which keys from secret data need to be mounted as files to the init container.
bamboo.additionalCertificates.secretNamestringnilName of the Kubernetes secret with certificates in its data. All secret keys in the secret data will be treated as certificates to be added to Java truststore. If defined, this takes precedence over secretList.
bamboo.additionalEnvironmentVariableslist[]Defines any additional environment variables to be passed to the Bamboo container. See https://hub.docker.com/r/atlassian/bamboo for supported variables.
bamboo.additionalJvmArgslist[]Specifies a list of additional arguments that can be passed to the Bamboo JVM, e.g. system properties.
bamboo.additionalLibrarieslist[]Specifies a list of additional Java libraries that should be added to the Bamboo container. Each item in the list should specify the name of the volume that contains the library, as well as the name of the library file within that volume's root directory. Optionally, a subDirectory field can be included to specify which directory in the volume contains the library file. Additional details: https://atlassian.github.io/data-center-helm-charts/examples/external_libraries/EXTERNAL_LIBS/
bamboo.additionalPortslist[]Defines any additional ports for the Bamboo container.
bamboo.additionalVolumeClaimTemplateslist[]Defines additional volumeClaimTemplates that should be applied to the Bamboo pod. Note that this will not create any corresponding volume mounts; those needs to be defined in bamboo.additionalVolumeMounts
bamboo.additionalVolumeMountslist[]Defines any additional volumes mounts for the Bamboo container. These can refer to existing volumes, or new volumes can be defined via 'volumes.additional'.
bamboo.brokerUrlstringnilOverride the server/agent broker URL; this is optional.
bamboo.containerSecurityContextobject{}Standard K8s field that holds security configurations that will be applied to a container. https://kubernetes.io/docs/tasks/configure-pod-container/security-context/
bamboo.disableAgentAuthboolfalseWhether to disable agent authentication. Setting this to true skips the agent approval step in the UI. For more information see: https://confluence.atlassian.com/bamboo/agent-authentication-289277196.html The default is false.
bamboo.forceConfigUpdateboolfalseThe Docker entrypoint.py generates application configuration on first start; not all of these files are regenerated on subsequent starts. By default, bamboo.cfg.xml is generated only once. Set forceConfigUpdate to true to change this behavior.
bamboo.importobject{"path":null,"type":"clean"}Bamboo can optionally import an existing exported dataset on first-run. These optional values can configure the import file or skip this stage entirely. For more details on importing and exporting see the documentation: https://confluence.atlassian.com/bamboo/exporting-data-for-backup-289277255.html https://confluence.atlassian.com/bamboo/importing-data-from-backup-289277260.html
bamboo.import.pathstringnilPath to the existing export to import to the new installation. This should be accessible by the cluster node; e.g. via the shared-home or additionalVolumeMounts below.
bamboo.import.typestring"clean"Import type. Valid values are clean (for a new install) or import, in which case you should provide the file path. The default is clean.
bamboo.jmsService.annotationsobject{}Additional annotations to apply to the JMS Service
bamboo.jmsService.enabledboolfalseWhether to create a separate Service for JMS Agent traffic
bamboo.jmsService.loadBalancerIPstringnilUse specific loadBalancerIP. Only applies to service type LoadBalancer.
bamboo.jmsService.portint54663The port on which the Bamboo K8s Service will listen for Agent traffic
bamboo.jmsService.typestring"ClusterIP"The type of K8s service to use for JMS
bamboo.licenseobject{"secretKey":"license","secretName":null}The Bamboo DC license that should be used. If supplied here the license configuration will be skipped in the setup wizard.
bamboo.license.secretKeystring"license"The key (default 'licenseKey') in the Secret used to store the license information
bamboo.license.secretNamestringnilThe secret that contains the license information
bamboo.livenessProbe.customProbeobject{}Custom livenessProbe to override the default tcpSocket probe
bamboo.livenessProbe.enabledboolfalseWhether to apply the livenessProbe check to pod.
bamboo.livenessProbe.failureThresholdint12The number of consecutive failures of the Bamboo container liveness probe before the pod fails liveness checks.
bamboo.livenessProbe.initialDelaySecondsint60Time to wait before starting the first probe
bamboo.livenessProbe.periodSecondsint5How often (in seconds) the Bamboo container liveness probe will run
bamboo.livenessProbe.timeoutSecondsint1Number of seconds after which the probe times out
bamboo.ports.httpint8085The port on which the Bamboo container listens for HTTP traffic
bamboo.ports.jmsint54663JMS port
bamboo.postStartobject{"command":null}PostStart is executed immediately after a container is created. However, there is no guarantee that the hook will execute before the container ENTRYPOINT. See: https://kubernetes.io/docs/concepts/containers/container-lifecycle-hooks/#container-hooks
bamboo.readinessProbe.customProbeobject{}Custom ReadinessProbe to override the default /status httpGet
bamboo.readinessProbe.enabledbooltrueWhether to apply the readinessProbe check to pod.
bamboo.readinessProbe.failureThresholdint30The number of consecutive failures of the Bamboo container readiness probe before the pod fails readiness checks.
bamboo.readinessProbe.initialDelaySecondsint30The initial delay (in seconds) for the Bamboo container readiness probe, after which the probe will start running.
bamboo.readinessProbe.periodSecondsint10How often (in seconds) the Bamboo container readiness probe will run
bamboo.readinessProbe.timeoutSecondsint1Number of seconds after which the probe times out
bamboo.resources.container.requests.cpustring"2"Initial CPU request by Bamboo pod
bamboo.resources.container.requests.memorystring"2G"Initial Memory request by Bamboo pod
bamboo.resources.jvm.maxHeapstring"1024m"The maximum amount of heap memory that will be used by the Bamboo JVM
bamboo.resources.jvm.minHeapstring"512m"The minimum amount of heap memory that will be used by the Bamboo JVM
bamboo.securityContext.fsGroupint2005The GID used by the Bamboo docker image GID will default to 2005 if not supplied and securityContextEnabled is set to true. This is intended to ensure that the shared-home volume is group-writeable by the GID used by the Bamboo container. However, this doesn't appear to work for NFS volumes due to a K8s bug: https://github.com/kubernetes/examples/issues/260
bamboo.securityContext.fsGroupChangePolicystring"OnRootMismatch"fsGroupChangePolicy defines behavior for changing ownership and permission of the volume before being exposed inside a Pod. This field only applies to volume types that support fsGroup controlled ownership and permissions. https://kubernetes.io/docs/tasks/configure-pod-container/security-context/#configure-volume-permission-and-ownership-change-policy-for-pods
bamboo.securityContextEnabledbooltrueWhether to apply security context to pod.
bamboo.securityToken.secretKeystring"security-token"The key (default secretKey) in the Secret used to store the Bamboo shared key.
bamboo.securityToken.secretNamestringnilThe name of the K8s Secret that contains the security token. When specified the token will overrided the generated one. This secret should also be shared with the agent deployment. An Example of creating a K8s secret for the secret below: 'kubectl create secret generic --from-literal=security-token=' https://kubernetes.io/docs/concepts/configuration/secret/#opaque-secrets
bamboo.seraphConfigobject{"autoLoginCookieAge":"1209600","generateByHelm":false}By default seraph-config.xml is generated in the container entrypoint from a template shipped with an official Bamboo image. However, seraph-config.xml generation may fail if container is not run as root, which is a common case if Bamboo is deployed to OpenShift.
bamboo.seraphConfig.generateByHelmboolfalseMount seraph-config.xml as a ConfigMap. Override configuration elements if necessary
bamboo.service.annotationsobject{}Additional annotations to apply to the Service
bamboo.service.contextPathstringnilThe Tomcat context path that Bamboo will use. The ATL_TOMCAT_CONTEXTPATH will be set automatically.
bamboo.service.externalTrafficPolicystringnilThe external traffic policy for the Service. Set to "Local" to preserve the client source IP (e.g. for audit logging or when fronted by an AWS ALB/NLB with instance/NodePort targets). Only applied when service.type is "NodePort" or "L

Deploy bamboo with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has bamboo 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 chartbamboo is pinned at v2.0.22 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