vmware-tanzu-labs / educates-training-platform

A platform for hosting interactive workshop environments in Kubernetes, or on top of a local container runtime.
https://docs.educates.dev
Apache License 2.0
63 stars 15 forks source link

CLI command for fetching config values for installed version of Educates. #426

Closed GrahamDumpleton closed 6 days ago

GrahamDumpleton commented 3 weeks ago

Is your feature request related to a problem? Please describe.

The PR https://github.com/vmware-tanzu-labs/educates-training-platform/pull/418 added storing of config values used to deploy Educates platform to the cluster. This is stored in the educates-config config map in the educates-config namespace. One has to know the specifics for where it is installed to view it.

Describe the solution you'd like

Add a CLI command for fetching and displaying the config values used to deploy Educates.

educates admin platform values

or:

educates admin platform config

Note that for educates admin config view command it is a view subcommand which displays it, so using educates admin platform config alone may be confusing and why suggested maybe educates admin platform values instead.

The educates admin diagnostics collect command should also capture this config map from the cluster as well.

Note. Should this mask sensitive values such as inline credentials, client IDs, certificates etc and only include them as-is if a specific option is provided.

Describe alternatives you've considered

No response

Additional information

No response

Tasks

jorgemoralespou commented 1 week ago

Part of this is fixed in #461

Remaining is to add collection of this information to the diagnostics command

jorgemoralespou commented 6 days ago

Will open a new issue