-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Ability to override values on per-chart basis #14
Comments
Hey @rsotnychenko, Thanks for your kind words, we have put a lot of work in this tool ;) Your idea is actually something we have considered for a while, but never got around to do. It will make a great addition. My thoughts - To set a value for a specific chart: This will make the behavior very similar to helm's subchart concept. What do you think? @hagaibarel FYI, this will break your existing pipelines. |
I like the idea, but would prefer to avoid breaking chanages if possible. |
Maybe this would be a good situation for a feature flag, which is essentially what @rsotnychenko proposed as option 3. Imagine this - Anyone who is already using We should add a warning for future change to the Win win. @hagaibarel, Thoughts? |
Clicked close by mistake ;) |
Have fun, don't forget to add relevant sections in the docs explaining the mechanism |
@maorfr sounds good to me. I should be able to start working on this on the next week :) |
Hello there! @hagaibarel @maorfr :)
First of all, I want to say that Orca looks great! It's fascinating to see how much it evolved since the very beginning of Nuvo's CI/CD.
While using it lately, I came up with an idea of what can be improved, and I was wondering what do you think about the usefulness of having this feature in the mainline repo.
Orca supports two ways of overriding default chart values:
--set
;However, neither of them covers a major case: when you need to change values only for some charts without knowing values during charts packaging (e.g., number of replicas of a service). So I was thinking about adding an ability to override values during deployment on a per-chart basis.
Currently, I see a couple of ways to implement this feature:
charts.yaml
--chart-set service1.replicas=10
)--global-set
) that will set values for all charts (current behavior of--set
) and change the logic of--set
to accept keys with prefixes like in option (2)All of the options have their advantages and drawbacks. So I was wondering what do you guys think? Which option looks the best to you? Or would this feature be welcomed at all?
Thanks in advance!
The text was updated successfully, but these errors were encountered: