Requirement: Your application must be deployable via Helm 3
To add your application to the DigitalOcean Marketplace, you'll need to do the following:
- Ensure that you have Helm 3 installed on your machine. Instructions
- Add a Helm 3 deployment (
deploy.sh
) file to this repo. - Get an account set up within the DigitalOcean Marketplace Vendor Portal
- Clone or fork the digitalocean/marketplace-kubernetes repository
- Create a git branch that includes the name of your app (example:
$APP_NAME-first-pr
) - Run the following commands to create your
deploy.sh
andvalues.yml
files. They will be located instacks/$APP_NAME
:
export HELM_REPO_NAME=stable
export HELM_REPO_URL=https://kubernetes-charts.storage.googleapis.com/
export STACK_NAME=$APP_NAME
export CHART_NAME=$APP_NAME/$APP_NAME
export CHART_VERSION=1.0.0
export NAMESPACE=$APP_NAME
./utils/generate-stack.sh
- Optionally, customize your
deploy.sh
and specify your Helm chart's configuration values invalues.yml
. Both can be found instacks/$APP_NAME
- Test out your stack by deploying it locally to a k8s cluster:
./stacks/$APP_NAME/deploy.sh
- Open a PR
- To deploy a newer version of your app's Helm chart, simply update the
CHART_VERSION
value in yourstacks/$APP_NAME/deploy.sh
file. If necessary, update yourvalues.yml
as well. - Open a PR
- Once your PR is merged, make the necessary listing copy updates in the Vendor Portal. The changes you make there will be reflected within your Marketplace listing.
Email one-clicks-team@digitalocean.com to get access to the Marketplace Vendor Portal. This is where you will manage your application's listing page.