digitalocean / marketplace-kubernetes

This repository contains the source code and deployment scripts for Kubernetes-based applications listed in the DigitalOcean Marketplace.
Apache License 2.0
159 stars 169 forks source link

helm chart / stack parameter #34

Closed kubemq closed 5 years ago

kubemq commented 5 years ago

Hi, I'm trying to bring KubeMQ (Kubernetes Message Broker) to the marketplace via a helm chart. In order that KubeMQ will properly install, a token parameter should be passed during deploy, Can you guide me on how to do so or direct me to the right example/link ? Thank you,

arosales commented 5 years ago

@kubemq,

Thanks for the work on bringing KubeMQ to the DigitalOcean Marketplace.

Does this token need to be dynamic, meaning it needs to be specific to each customer's deploy? Or does can it be general, applicable to all deploys?

OpenFaas generates a dynamic password on deploy: https://github.com/digitalocean/marketplace-kubernetes/blob/master/stacks/openfaas/deploy.sh#L8

If your using a non-standard package from a base container image we may need to add this to the base image.

Let us know if this helps, and more details on the token generation and passing during deploy.

kubemq commented 5 years ago

The Token should be dynamic as bring your license type of installation

On Fri, Sep 27, 2019, 18:14 Antonio notifications@github.com wrote:

@kubemq https://github.com/kubemq,

Thanks for the work on bringing KubeMQ to the DigitalOcean Marketplace.

Does this token need to be dynamic, meaning it needs to be specific to each customer's deploy? Or does can it be general, applicable to all deploys?

OpenFaas generates a dynamic password on deploy:

https://github.com/digitalocean/marketplace-kubernetes/blob/master/stacks/openfaas/deploy.sh#L8

If your using a non-standard package from a base container image we may need to add this to the base image.

Let us know if this helps, and more details on the token generation and passing during deploy.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/digitalocean/marketplace-kubernetes/issues/34?email_source=notifications&email_token=AK5WGXDAZZOXAX6Q5LY6DPLQLYPMRA5CNFSM4I3EPYMKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD7ZG7UQ#issuecomment-535982034, or mute the thread https://github.com/notifications/unsubscribe-auth/AK5WGXDLFNYLVKXJRIIV3BDQLYPMRANCNFSM4I3EPYMA .

kubemq commented 5 years ago

Just make sure we are aligned. The user should register on our site and get a Token, with this Token he needs to deploy KubeMQ. Another way would be fine for us is if we get the user email address then we can generate a token automatically.

arosales commented 5 years ago

@kubemq thanks for the clarification. We currently don't support deploy-time user registration/license-creation for 1-click Kubernetes apps.

Kubemq would need to do the register and license set after initial deploy. Ideally there is a trial period of base functionality provided to the user while they registers directly with kubemq and obtains a license.

Let me know if you have any further questions, and thanks for your work to list kubemq on the DigitalOcean Marketplace.

kubemq commented 5 years ago

We have an idea and i just to make sure this is fine with you. Since you deploy with stacks using kubectl, we can do kubectl apply -f with a url from our server that will generate the required parameters and deploy. yes ? We don't need a mandatory helm chart..... ?