helm-charts icon indicating copy to clipboard operation
helm-charts copied to clipboard

feat(charts/dex): Add extraObjects

Open bilyboy785 opened this issue 1 year ago • 11 comments

Overview

This PR add the ability to include extraObjects. Array of extra K8s manifests to deploy

What this PR does / why we need it

Closes #3227

Special notes for your reviewer

Checklist

  • [x] Change log updated in Chart.yaml (see the contributing guide for details)
  • [x] Chart version bumped in Chart.yaml (see the contributing guide for details)
  • [x] Documentation regenerated by running make docs

bilyboy785 avatar Aug 23 '24 10:08 bilyboy785

Would be great :)

alexkleinfig avatar Oct 14 '24 08:10 alexkleinfig

+1

vaboston avatar Oct 14 '24 08:10 vaboston

Super needed feature :)

cc: @nabokihms

achetronic avatar Dec 06 '24 09:12 achetronic

I opened another PR https://github.com/dexidp/helm-charts/pull/132 on this a long time ago as well. I know I'm biased, but I like my solution more as it allows extraObjects to be a dictionary or array. Useful for defining multiple extraObjects from different values files, such as one encrypted and another not.

TheRealNoob avatar Mar 18 '25 19:03 TheRealNoob

@TheRealNoob do you have any references from the community how other charts solve this? I'd be inclined to follow the footsteps of others.

sagikazarmark avatar Mar 21 '25 19:03 sagikazarmark

I've not run across any other charts currently allowing extraObjects to be a dictionary, only a list; let alone either. With that in mind I understand your point, but I see this as a feature add with zero risk.

TheRealNoob avatar Mar 24 '25 07:03 TheRealNoob

I based myself to Argo projects @TheRealNoob

bilyboy785 avatar Mar 24 '25 07:03 bilyboy785

I understand the stance you're making, and I've made it myself many a time. In this instance I'm stating that I believe my change to have no negative drawbacks for anybody using their values file in the way your PR works, while also adding a feature that I believe others (and myself) would find useful. If you believe anything in that statement to be incorrect please let me know. If that isn't the issue, is there some other reason why my PR is undesired (other than it being different)?

TheRealNoob avatar Mar 24 '25 07:03 TheRealNoob

I'm in favour of PR #132 over this. I prefer being able to define extraObjects as a dict as it allows for yaml merging across multiple values files.

skhtor avatar Mar 24 '25 11:03 skhtor

Well, I have several examples for this:

Notifik (as a list) App template (as a map) Varnish (as a list)

Personally, i agree with @skhtor. Maps allow you to merge between files and it's easy to implement too, so they are more useful

achetronic avatar Mar 25 '25 13:03 achetronic

So ... any news on this ? I close this one and would be great to make something for #132, we need this ! @TheRealNoob

mbouillaud avatar Apr 18 '25 06:04 mbouillaud