Skip to content

BuoyantIO/buoyant-azure-marketplace-item

Repository files navigation

Minecraft Server Chats

This repo is designed as a template for a Microsoft Partner to create a Kubernetes App in the Azure Marketplace.

Features

This repo contains the following:

  • Minecraft Server Helm Chart - The sample application
  • 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

Testing

Prior to pushing the offer to the Azure Marketplace, validate the Helm install

helm install ./charts/minecraft --generate-name --dry-run --debug

GitHub Actions

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:

  1. 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.
    1. On the top of the repository select "Settings"
    2. On the left hand side select "Secrets" followed by "Actions" in the dropdown.
    3. Select "New repository secret"
    4. In the name, enter "AZURE_ACR"
    5. For the secret, enter your ACR login server
  2. 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

Notes

Helm chart inspired by https://github.com/itzg/minecraft-server-charts

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages