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

Add environment variables to all cli flags #63

Merged
merged 2 commits into from
Jun 23, 2023

Conversation

derlin
Copy link
Contributor

@derlin derlin commented Jun 23, 2023

Closes #62

@derlin
Copy link
Contributor Author

derlin commented Jun 23, 2023

@angelbarrera92 I have a doubt for the prometheus endpoints. In a way PROM_PROXY_PROMETHEUS_ENDPOINT is quite long, but on the other it stays coherent. Let me know what you think!

@angelbarrera92
Copy link
Member

angelbarrera92 commented Jun 23, 2023

@angelbarrera92 I have a doubt for the prometheus endpoints. In a way PROM_PROXY_PROMETHEUS_ENDPOINT is quite long, but on the other it stays coherent. Let me know what you think!

Hi @derlin!

Yeee, i know. It looks "too long", on the other side, it make sense to me to have it as it is,

Dont worry that much,

Lets set PROM_PROXY_PROMETHEUS_ENDPOINT

README.md Outdated
- `--auth-type`: Type of authentication to use, one of `basic`, `jwt`
- `--auth-config`: Authentication configuration.
- `--port` // `PROM_PROXY_PORT`: Port used to expose this proxy.
- `--prometheus-endpoint` // `PROM_PROXY_ENDPOINT`: URL of your Prometheus instance.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Lets set PROM_PROXY_PROMETHEUS_ENDPOINT

Copy link
Member

@angelbarrera92 angelbarrera92 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@angelbarrera92 angelbarrera92 merged commit 6ce91cd into k8spin:master Jun 23, 2023
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.

Enable configuration using environment variables
2 participants