This repo contains the Linkerd Azure marketplace item.
This repo contains the following:
- Linkerd Helm Chart - Linkerd
- UI Definition - Used to define experience when purchasing via Azure Portal
- ARM Template - Used to define the Azure resources and variables passed during deployment
- GitHub Action - Defines the GitHub Actions to enable CI automation of re-publishing the latest bundle on commit
- Manifest - Defines the CNAB bundle, Used for packaging
Prior to pushing the offer to the Azure Marketplace, validate the Helm install
helm install ./charts/linkerd-control-plane --generate-name --dry-run --debug
The GitHub Action Workflow will bundle the package and then publish to the ACR described in the manifest file. To use this Action Workflow make the following changes:
- Cerate a Repository Secret Named "AZURE_ACR". Must be the same as the ACR in your manifest file. This is used in the "Build and Publish Bundle" step.
- On the top of the repository select "Settings"
- On the left hand side select "Secrets" followed by "Actions" in the dropdown.
- Select "New repository secret"
- In the name, enter "AZURE_ACR"
- For the secret, enter your ACR login server
- Create the following Repository Secrets: AZURE_CLIENT_ID, AZURE_SUBSCRIPTION_ID, and AZURE_TENANT_ID. This enables "OIDC Login to Azure Public Cloud" step
- The values must match the values of your service principal which has access to the ACR
- Follow the same steps when adding the AZURE_ACR secret
- For additional information about OIDC Setup with GitHub and Azure, please reference the link here
Helm chart inspired by https://github.com/itzg/minecraft-server-charts