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
- https://github.com/atlassian/data-center-helm-charts
- https://bitbucket.org/atlassian-docker/docker-bamboo-server
Requirements
Kubernetes: >=1.21.x-0
| Repository | Name | Version |
|---|---|---|
| https://atlassian.github.io/data-center-helm-charts | common | 1.2.7 |
Values
| Key | Type | Default | Description |
|---|---|---|---|
| additionalConfigMaps | list | [] | 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 |
| additionalContainers | list | [] | Additional container definitions that will be added to all Bamboo pods |
| additionalFiles | list | [] | 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 |
| additionalInitContainers | list | [] | Additional initContainer definitions that will be added to all Bamboo pods |
| additionalLabels | object | {} | Additional labels that should be applied to all resources |
| affinity | object | {} | Standard K8s affinities that will be applied to all Bamboo pods |
| atlassianAnalyticsAndSupport.analytics.enabled | bool | true | Mount ConfigMap with selected Helm chart values as a JSON which DC products will read and send analytics events to Atlassian data pipelines |
| atlassianAnalyticsAndSupport.helmValues.enabled | bool | true | Mount ConfigMap with selected Helm chart values as a YAML file which can be optionally including to support.zip |
| bamboo.accessLog.localHomeSubPath | string | "log" | The subdirectory within the local-home volume where access logs should be stored. |
| bamboo.accessLog.mountPath | string | "/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.additionalAnnotations | object | {} | Defines additional annotations to the Bamboo StateFulSet. This might be required when deploying using a GitOps approach |
| bamboo.additionalBundledPlugins | list | [] | 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.additionalCertificates | object | {"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.customCmd | string | nil | Custom command to be executed in the init container to import certificates |
| bamboo.additionalCertificates.initContainer.resources | object | {} | Resources allocated to the import-certs init container |
| bamboo.additionalCertificates.initContainer.securityContext | object | {} | Custom SecurityContext for the import-certs init container |
| bamboo.additionalCertificates.secretList | list | [] | 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.secretName | string | nil | Name 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.additionalEnvironmentVariables | list | [] | Defines any additional environment variables to be passed to the Bamboo container. See https://hub.docker.com/r/atlassian/bamboo for supported variables. |
| bamboo.additionalJvmArgs | list | [] | Specifies a list of additional arguments that can be passed to the Bamboo JVM, e.g. system properties. |
| bamboo.additionalLibraries | list | [] | 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.additionalPorts | list | [] | Defines any additional ports for the Bamboo container. |
| bamboo.additionalVolumeClaimTemplates | list | [] | 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.additionalVolumeMounts | list | [] | 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.brokerUrl | string | nil | Override the server/agent broker URL; this is optional. |
| bamboo.containerSecurityContext | object | {} | 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.disableAgentAuth | bool | false | Whether 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.forceConfigUpdate | bool | false | The 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.import | object | {"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.path | string | nil | Path 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.type | string | "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.annotations | object | {} | Additional annotations to apply to the JMS Service |
| bamboo.jmsService.enabled | bool | false | Whether to create a separate Service for JMS Agent traffic |
| bamboo.jmsService.loadBalancerIP | string | nil | Use specific loadBalancerIP. Only applies to service type LoadBalancer. |
| bamboo.jmsService.port | int | 54663 | The port on which the Bamboo K8s Service will listen for Agent traffic |
| bamboo.jmsService.type | string | "ClusterIP" | The type of K8s service to use for JMS |
| bamboo.license | object | {"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.secretKey | string | "license" | The key (default 'licenseKey') in the Secret used to store the license information |
| bamboo.license.secretName | string | nil | The secret that contains the license information |
| bamboo.livenessProbe.customProbe | object | {} | Custom livenessProbe to override the default tcpSocket probe |
| bamboo.livenessProbe.enabled | bool | false | Whether to apply the livenessProbe check to pod. |
| bamboo.livenessProbe.failureThreshold | int | 12 | The number of consecutive failures of the Bamboo container liveness probe before the pod fails liveness checks. |
| bamboo.livenessProbe.initialDelaySeconds | int | 60 | Time to wait before starting the first probe |
| bamboo.livenessProbe.periodSeconds | int | 5 | How often (in seconds) the Bamboo container liveness probe will run |
| bamboo.livenessProbe.timeoutSeconds | int | 1 | Number of seconds after which the probe times out |
| bamboo.ports.http | int | 8085 | The port on which the Bamboo container listens for HTTP traffic |
| bamboo.ports.jms | int | 54663 | JMS port |
| bamboo.postStart | object | {"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.customProbe | object | {} | Custom ReadinessProbe to override the default /status httpGet |
| bamboo.readinessProbe.enabled | bool | true | Whether to apply the readinessProbe check to pod. |
| bamboo.readinessProbe.failureThreshold | int | 30 | The number of consecutive failures of the Bamboo container readiness probe before the pod fails readiness checks. |
| bamboo.readinessProbe.initialDelaySeconds | int | 30 | The initial delay (in seconds) for the Bamboo container readiness probe, after which the probe will start running. |
| bamboo.readinessProbe.periodSeconds | int | 10 | How often (in seconds) the Bamboo container readiness probe will run |
| bamboo.readinessProbe.timeoutSeconds | int | 1 | Number of seconds after which the probe times out |
| bamboo.resources.container.requests.cpu | string | "2" | Initial CPU request by Bamboo pod |
| bamboo.resources.container.requests.memory | string | "2G" | Initial Memory request by Bamboo pod |
| bamboo.resources.jvm.maxHeap | string | "1024m" | The maximum amount of heap memory that will be used by the Bamboo JVM |
| bamboo.resources.jvm.minHeap | string | "512m" | The minimum amount of heap memory that will be used by the Bamboo JVM |
| bamboo.securityContext.fsGroup | int | 2005 | The 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.fsGroupChangePolicy | string | "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.securityContextEnabled | bool | true | Whether to apply security context to pod. |
| bamboo.securityToken.secretKey | string | "security-token" | The key (default secretKey) in the Secret used to store the Bamboo shared key. |
| bamboo.securityToken.secretName | string | nil | The 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.seraphConfig | object | {"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.generateByHelm | bool | false | Mount seraph-config.xml as a ConfigMap. Override configuration elements if necessary |
| bamboo.service.annotations | object | {} | Additional annotations to apply to the Service |
| bamboo.service.contextPath | string | nil | The Tomcat context path that Bamboo will use. The ATL_TOMCAT_CONTEXTPATH will be set automatically. |
| bamboo.service.externalTrafficPolicy | string | nil | The 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.
- Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
- Place the chartbamboo is pinned at v2.0.22 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