Skip to content

Ability to override values on per-chart basis #14

@rsotnychenko

Description

@rsotnychenko

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:

  1. using command line param --set;
  2. via a YAML file packaged together with a chart.

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:

  1. Change the structure of Orca's charts.yaml
  2. Add a CLI param that takes keys with chart name as a prefix (e.g. --chart-set service1.replicas=10)
  3. Add a CLI param (e.g. --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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions