Skip to content

[Feature Request] Implement a Config Loader #237

@codevulture

Description

@codevulture

Current Implementation Of Client loads configuration from yaml File:

Following function loads yaml and do the processing.

https://github.com/kubernetes-client/python-base/blob/7c8e59b58d9a769f1ca3f818aa91c8a6538b51b1/config/kube_config.py#L309

_get_kube_config_loader_for_yaml_file

There are many cases and projects where Configurations are present in different options like ini file which needs to be loaded where creating a ConfigurationObject and assigning parameters is one way.It could save a lot of code if generic handler for loading could be implemented in Client-python as well.

If this looks feasible i can also volunteer to work on the same

Metadata

Metadata

Assignees

Labels

feature-requestlifecycle/rottenDenotes an issue or PR that has aged beyond stale and will be auto-closed.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions