dex icon indicating copy to clipboard operation
dex copied to clipboard

Create an official Helm chart

Open sagikazarmark opened this issue 6 years ago • 15 comments

Dex's "official" helm chart in the helm/charts stable repo is far from perfect, not to mention that the official Helm chart repo will be deprecated by the end of the year.

We should create a new, official chart for Dex.

The only question is where we should host it:

WDYT?

/cc @bonifaido @srenatus

sagikazarmark avatar May 12 '20 12:05 sagikazarmark

I'd go with the simplest option, and I suppose that's the second one -- static chart repo? 🤔

srenatus avatar May 12 '20 14:05 srenatus

I guess it is, still, I would consider having a domain of our own, just in case we decide to move it away from github.

Anyway, I will give the releaser action a try to see how it works.

sagikazarmark avatar May 12 '20 14:05 sagikazarmark

I'd be curious what others say, too. Also, when it comes to having some infrastructure at our disposal, I wonder if this is where CNCF could come in. But I haven't tracked the status of that process, tbh.

Also, we're currently not using any helm charts, so my opinion shouldn't weight much here 😅

srenatus avatar May 12 '20 14:05 srenatus

I wonder if this is where CNCF could come in

This issue came up right before VMware approached us with joining CNCF which is why I've put this on hold, but the need for a better chart just came up again, so I decided to at least open an issue and start a discussion.

sagikazarmark avatar May 12 '20 14:05 sagikazarmark

Sounds alright, better to act now. It's probably of use to a many users :+1:

srenatus avatar May 12 '20 14:05 srenatus

Hi folks, have you considered distribution of the Dex via kustomize? IMHO that can be an option too, kustomize has certain benefits over the helm chart Just as an example - MetalLB follows that approach: https://metallb.universe.tf/installation/#installation-with-kustomize
I believe MetalLB "official" chart is mostly abandoned atm

vi7 avatar Jul 09 '20 09:07 vi7

I think the two aren't mutually exclusive, the question is whether we have bandwidth for both. Feel free to open a separate issue for Kustomize support.

sagikazarmark avatar Jul 09 '20 10:07 sagikazarmark

Any update on this? I'm needing to update my dex config and make a couple enhancements to chart I've vendored locally in the past from the old stable helm repo.

I think it makes sense as a first step it makes sense to at least add the helm chart to this repo under a folder such as helm, or assets/helm. That way there is SOME official chart and updates to the chart can be made in the same PR as relevant code changes when applicable.

The chart releaser action or something like this could also be added, then in a future iteration the chart could maybe be hosted charts.dexidp.org / chartmuseum.

In the meantime, I'm going to make changes to the chart locally to satisfy my requirements and then will try to push a PR to this repo to help drive this forward.

asetty avatar Dec 14 '20 19:12 asetty

The deployment of Dex is super super simple. There is nothing special or unique about it that requires an extended (helm) configuration.

At my company, we have a standard helm chart that we use for our 100+ microservices. We were able to use that chart to deploy Dex and there were no complications at all, literally just added a few lines to a values.yaml file.

postmaxin avatar Dec 14 '20 19:12 postmaxin

@postmaxin I see where you're coming from. It really is just a matter of using the correct image and providing a config file, the rest is boilerplate.

I'd like to hear other's thoughts on this. Is it worth maintaining a helm chart in this repo? As a user of helm and k8s, I'd personally like to have an official source for a dex helm chart. Maybe at least some documentation about deployment and/or an example manifest could be added. I often find having some deployment resources packaged with the code useful in lowering the barrier to entry if I want to quickly test some open source software. (but maybe also defining a few standard, simple charts to use at my company would be useful... :))

asetty avatar Dec 14 '20 20:12 asetty

Sorry, I haven't been able to work on this so far. I'll try to find some time in the near future. We have some practice with running Dex in Kubernetes and it's not that simple which is why it's a little bit more than a helm create.

I've created a helm chart repo, we'll push the repo there once it's ready: https://github.com/dexidp/helm-charts

sagikazarmark avatar Dec 16 '20 18:12 sagikazarmark

Hi @sagikazarmark , I see that the new official Helm chart is not yet completed in this Repo : https://github.com/dexidp/helm-charts. Is there a new official source for dex Helm chart ? Or it's under development ? Thank's in advance for your feedback ;) .

NahaliY avatar Jan 15 '21 13:01 NahaliY

@NahaliY please follow dexidp/helm-charts#2 as well. It tracks the current blockers for releasing a helm chart. It's under development.

sagikazarmark avatar Jan 15 '21 13:01 sagikazarmark

Hey folks,

Please take a look at dexidp/helm-charts#3, give it a try and share some feedback. Thanks!

sagikazarmark avatar Feb 13 '21 18:02 sagikazarmark

The first version is available at https://charts.dexidp.io/

sagikazarmark avatar Feb 20 '21 01:02 sagikazarmark