kpt-backstage-plugins icon indicating copy to clipboard operation
kpt-backstage-plugins copied to clipboard

Add support for Kubernetes namespace selection

Open tliron opened this issue 2 years ago • 1 comments

The UI currently tracks related CRs (e.g. Repository) in the "default" namespace only.

Ideally there would be a dropdown to select an individual namespace or all namespaces.

tliron avatar Feb 01 '23 20:02 tliron

The UI currently tracks related CRs (e.g. Repository) in the "default" namespace only.

Confirming the Config as Data UI does support looking for resources in a namespace other than "default" today. The UI looks for resources as defined by the resourcesNamespace value in the app-config.yaml file as defined by the Configuration as Data Backend Plugin.

This value can be updated by either updating the value directly in the app-config.yaml, extending the app configuration with another configuration file overriding any values as needed (this is the pattern that Nephio follows), or setting the APP_CONFIG_configAsData_resourcesNamespace environment variable using environment variable overrides.

Ideally there would be a dropdown to select an individual namespace or all namespaces.

I can look into adding this. Although the UI does support looking for resources in another namespace, the namespace does need to be defined upfront.

ChristopherFry avatar Feb 21 '23 18:02 ChristopherFry