azure-pipeline-environment
by Codit
A Helm chart for creating required resources to use Azure Pipelines' Environment
About this chart
Azure Pipeline Environment
Azure Pipeline Environment manages all required Kubernetes resources to provision an Kubernetes environment in Azure Pipelines.
This uses the "Using existing service account" and should solely be used if the automatic provisioning flow does not work.
TL;DR
helm repo add coditeu https://coditeu.github.io/charts
helm install coditeu/azure-pipeline-environment
Introduction
Installing the Chart
To install the chart with the release name azure-pipeline-environment:
$ helm install azure-pipeline-environment coditeu/azure-pipeline-environment
Uninstalling the Chart
To uninstall the azure-pipeline-environment deployment:
helm uninstall azure-pipeline-environment
The command removes all the Kubernetes components associated with the chart and deletes the release.
Configuration
The following table lists the configurable parameters of the Promitor chart and their default values.
| Parameter | Description | Default |
|---|---|---|
serviceAccount.name | Name of the service account to use | az-devops |
serviceAccount.annotations | Annotations for the service account | None |
roles.cluster.name | Name of the cluster role to create | azure-devops-cluster-admin |
roles.cluster.create | Indication whether or not creation of the cluster role should be created | true |
bindings.cluster.name | Name of the cluster binding | az-devops-admin |
bindings.role.name | Name of the role binding | az-devops-admin |
Deploy azure-pipeline-environment with OpenTenant
Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has azure-pipeline-environment 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 chartazure-pipeline-environment is pinned at v1.0.0 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