Skip to content

Comments

feat: Enable OS_CLIENT_CONFIG_PATH environment variable#1419

Merged
gtema merged 1 commit intomainfrom
osc_config_path
Sep 12, 2025
Merged

feat: Enable OS_CLIENT_CONFIG_PATH environment variable#1419
gtema merged 1 commit intomainfrom
osc_config_path

Conversation

@gtema
Copy link
Owner

@gtema gtema commented Sep 12, 2025

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
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

1 participant