Skip to content

feat: Enable OS_CLIENT_CONFIG_PATH environment variable - #1419

Merged
gtema merged 1 commit into
mainfrom
osc_config_path
Sep 12, 2025
Merged

gtema merged 1 commit into
mainfrom
osc_config_path

Conversation

@gtema

@gtema gtema commented Sep 12, 2025

Copy link
Copy Markdown
Owner

In a way similar to KUBECONFIG environment variable add possibility to
predefine locations at which configurations are searched and all merged
into the single "virtual" config.

export
OS_CLIENT_CONFIG_PATH=c1.yaml:~/.config/openstack/c3.yaml:/etc/openstack/secure.yaml"

When entry point to the file it is tried to be parsed as is. When an
entry is a directory a regular clouds.yaml/secure.yaml files are being
searched in it.

@gtema gtema linked an issue Sep 12, 2025 that may be closed by this pull request
Comment thread openstack_sdk/src/config.rs Fixed
Comment thread openstack_sdk/src/config.rs Fixed
In a way similar to `KUBECONFIG` environment variable add possibility to
predefine locations at which configurations are searched and all merged
into the single "virtual" config.

```
export
OS_CLIENT_CONFIG_PATH=c1.yaml:~/.config/openstack/c3.yaml:/etc/openstack/secure.yaml"
```

When entry point to the file it is tried to be parsed as is. When an
entry is a directory a regular clouds.yaml/secure.yaml files are being
searched in it.
@gtema
gtema merged commit 18507cd into main Sep 12, 2025
19 checks passed
@gtema-release-plz gtema-release-plz Bot mentioned this pull request Sep 11, 2025
@gtema-release-plz gtema-release-plz Bot mentioned this pull request Sep 21, 2025
@gtema
gtema deleted the osc_config_path branch September 22, 2025 07:08
@gtema-release-plz gtema-release-plz Bot mentioned this pull request Sep 27, 2025
@gtema-release-plz gtema-release-plz Bot mentioned this pull request Oct 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Implement OSCONFIG env similar to KUBECONFIG

2 participants