fabrikate icon indicating copy to clipboard operation
fabrikate copied to clipboard

fab xray/usage command to surface configuration to end user

Open bnookala opened this issue 6 years ago • 1 comments

As a:

User

I want:

A command to allow me to surface helm level configuration for a fabrikate HLD

So that:

I can easily understand fabrikate configuration for a component, without having to constantly browse to the fabrikate components's helm leaf.

Describe the solution you'd like:

$ fab usage fabrikate-cloud-native
> fabrikate-cloud-native
>     - fabrikate-prometheus-grafana
>          - grafana
>             https://github.com/helm/charts/tree/master/stable/grafana
>          - prometheus
>             https://github.com/helm/charts/tree/master/stable/prometheus
>     - fabrikate-jaeger
>          - jaeger
>             https://github.com/helm/charts/tree/master/incubator/jaeger
>     ...

Describe alternatives you've considered:

Using a browser to navigate to every leaf node… :)

Additional context:

We need an easier way to surface where configuration exists for a helm chart.

bnookala avatar Apr 17 '19 20:04 bnookala

@bnookala check out npm list on a project of yours for ideas here as well.

Let's iterate on a design here before implementation.

Other things to think about:

  • Should we print out all of the config environments provided in each component? (eg. fabrikate-cloud-native has an azure config to provide a reasonable set of Azure storage classes as defaults.
  • Should we print out the version that the component / helm chart is locked to?

timfpark avatar Apr 17 '19 20:04 timfpark