Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FeatureRequest: Create dedicated configuration directory #140

Open
scoopex opened this issue Dec 5, 2024 · 0 comments
Open

FeatureRequest: Create dedicated configuration directory #140

scoopex opened this issue Dec 5, 2024 · 0 comments

Comments

@scoopex
Copy link
Contributor

scoopex commented Dec 5, 2024

If the scs-health-monitor is executed in a Docker container, it would be useful if all configuration files could be stored in a dedicated directory (clouds.yaml, env.yaml and ~/.kube/config). This would reduce the number of mounts and also make it much easier to run scs-health-monitor in a non-root container.

My suggestion would be that this is controlled via an environment variable SCS_HEALTH_MONITOR_CONFIG_DIR (i.e. <BASEDIR>/config).

The Openstack searchpath should be controllable via OpenStackConfig(config_files=[config_dir]), in the kubernetes client with the KUBE_CONFIG variable, and env.yaml seems to be a custom config for the tool.

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

No branches or pull requests

1 participant