Question

How to provide one-click application param value from marketplace UI

Hi Team,

We have a kubernetes based application, which we intend to host as an One-click app in Digital Ocean. With this app we need to provide a unique ID during the installation.

Referred the below links

  1. Github link - https://github.com/digitalocean/marketplace-kubernetes.
  2. https://github.com/digitalocean/marketplace-kubernetes/blob/master/CONTRIBUTING.md

Tested it locally by providing the ID with the deploy.sh script from commandline and it worked for us.

Is there any provision to pass ID from Marketplace Application UI during app install time?

Please suggest a way if we can make it possible.

Thanks.


Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

Typically, the one click apps (you didn’t specify which one) they are installed via helm charts. Most but not all. Typically with any helm chart, you customize the installation via what we call a values.yaml file. This is a file you include with the installation, that over rides default values for the installation. I would look to see for your application, if in the default values there is a way to add the value you are looking to add. It sounds like you are wanting to add a custom label. This is easy enough and “should” be able to be added to the values.yaml file. The git repo for the application should have the docs that show all the customizable values for that application. I have never been successful trying to change configuration after install by editing directly the settings in k8s. Hope this helps and gives you somewhere to look. You don’t have to use the 1-click install btw. Because they use helm, you can just do the helm install yourself. This is how you are able to add custom values to your installation.