concourse

by joaquinito2051

Helm chartv1.5.3App 7.8.3

Concourse is an automation system written in Go. It is most commonly used for CI/CD, and is built to scale to any kind of automation pipeline, from simple to complex.

About this chart

Concourse packaged by Bitnami

Concourse is an automation system written in Go. It is most commonly used for CI/CD, and is built to scale to any kind of automation pipeline, from simple to complex.

Overview of Concourse

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 my-repo https://charts.bitnami.com/bitnami
$ helm install my-release my-repo/concourse

Introduction

This chart bootstraps a Concourse deployment on a Kubernetes cluster using the Helm package manager.

It also packages Bitnami Postgresql

Bitnami charts can be used with Kubeapps for deployment and management of Helm Charts in clusters.

Prerequisites

  • Kubernetes 1.19+
  • Helm 3.2.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 my-repo/concourse

The command deploys concourse 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

NameDescriptionValue
global.imageRegistryGlobal Docker image registry""
global.imagePullSecretsGlobal Docker registry secret names as an array[]
global.storageClassGlobal StorageClass for Persistent Volume(s)""

Common parameters

NameDescriptionValue
kubeVersionOverride Kubernetes version""
nameOverrideString to partially override common.names.fullname""
fullnameOverrideString to fully override common.names.fullname""
clusterDomainKubernetes Cluster Domaincluster.local
commonLabelsLabels to add to all deployed objects{}
commonAnnotationsAnnotations to add to all deployed objects{}
extraDeployArray of extra objects to deploy with the release[]
diagnosticMode.enabledEnable diagnostic mode (all probes will be disabled and the command will be overridden)false
diagnosticMode.commandCommand to override all containers in the deployment(s)/statefulset(s)["sleep"]
diagnosticMode.argsArgs to override all containers in the deployment(s)/statefulset(s)["infinity"]

Common Concourse Parameters

NameDescriptionValue
image.registryimage registrydocker.io
image.repositoryimage repositorybitnami/concourse
image.tagimage tag (immutable tags are recommended)7.8.3-debian-11-r0
image.digestimage digest in the way sha256:aa.... Please note this parameter, if set, will override the tag""
image.pullPolicyimage pull policyIfNotPresent
image.pullSecretsimage pull secrets[]
secrets.localAuth.enabledthe use of local authentication (basic auth).true
secrets.localUsersList of username:password or username:bcrypted_password combinations for all your local concourse users. Auto-generated if not set""
secrets.teamAuthorizedKeysArray of team names and public keys for team external workers[]
secrets.conjurAccountAccount for Conjur auth provider.""
secrets.conjurAuthnLoginHost username for Conjur auth provider.""
secrets.conjurAuthnApiKeyAPI key for host used for Conjur auth provider. Either API key or token file can be used, but not both.""
secrets.conjurAuthnTokenFileToken file used for Conjur auth provider if running in Kubernetes or IAM. Either token file or API key can be used, but not both.""
secrets.conjurCACertCA Certificate to specify if conjur instance is deployed with a self-signed cert""
secrets.hostKeyConcourse Host Keys.""
secrets.hostKeyPubConcourse Host Keys.""
secrets.sessionSigningKeyConcourse Session Signing Keys.""
secrets.workerKeyConcourse Worker Keys.""
secrets.workerKeyPubConcourse Worker Keys.""
secrets.workerAdditionalCertsAdditional certificates to add to the worker nodes""

Concourse Web parameters

NameDescriptionValue
web.enabledEnable Concourse web componenttrue
web.baseUrlurl/
web.logLevelMinimum level of logs to see. Possible options: debug, info, error.debug
web.clusterNameA name for this Concourse cluster, to be displayed on the dashboard page.""
web.bindIpIP address on which to listen for HTTP traffic (web UI and API).0.0.0.0
web.peerAddressNetwork address of this web node, reachable by other web nodes.""
web.externalUrlURL used to reach any ATC from the outside world.""
web.auth.cookieSecureuse cookie secure true or falsefalse
web.auth.durationLength of time for which tokens are valid. Afterwards, users will have to log back in.24h
web.auth.passwordConnectorThe connector to use for password authentication for fly login -u ... -p ....""
web.auth.mainTeam.configConfiguration file for specifying the main teams params.""
web.auth.mainTeam.localUserComma-separated list of local Concourse users to be included as members of the main team.user
web.existingSecretUse an existing secret for the Web service credentials""
web.enableAcrossStepEnable the experimental across step to be used in jobs. The API is subject to change.false
web.enablePipelineInstancesEnable the creation of instanced pipelines.false
web.enableCacheStreamedVolumesEnable caching streamed resource volumes on the destination worker.false
web.baseResourceTypeDefaultsConfiguration file for specifying defaults for base resource types""
web.tsa.logLevelMinimum level of logs to see. Possible values: debug, info, errordebug
web.tsa.bindIpIP address on which to listen for SSH0.0.0.0
web.tsa.debugBindIpIP address on which to listen for the pprof debugger endpoints (default: 127.0.0.1)127.0.0.1
web.tsa.heartbeatIntervalInterval on which to heartbeat w

Deploy concourse with OpenTenant

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