galasa-dev / projectmanagement

Project Management repo for Issues and ZenHub
7 stars 3 forks source link

As a Galasa Ecosystem Administrator I want to be able to export all CPS properties used in the Ecosystem #1903

Open Tom-Slattery opened 1 week ago

Tom-Slattery commented 1 week ago

Story

As a Galasa Ecosystem Administrator I want to be able to export all CPS properties used in the Ecosystem, so that I am able to use a configuration as code approach to maintaining the ecosystem.

Background

I am looking to implement a config as code approach to CPS properties where a properties file is applied to the Ecosystem from a GitHub repo. This gives us the ability to control the changes applied to the ecosystem and to roll back if necessary (for this to be effective we would also need to implement Role Based Access to usage of the "galasactl properties set" command - opening a separate issue for that).

To do this, initially I will need to export all the properties for all namespaces (except secure).

I am hoping for a command something like this: galasactl resources export --format yaml