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 ability to set insecure via environment variable #43

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Syphdias
Copy link

When running a custom container service via cephadm it is not possible to set any arguments for the container entrypoint. You can only set arguments for the docker/podman command itself and set environment variables. This works well with RADOSGW_SERVER, etc. but does not allow for the usage of private certificates on the RGW endpoint when using the exporter this way.

This commit adds the option to set SECURE=false to ignore certificate errors (which I need – unfortunately).

This also adjusts the arguments name to use "secure" as a name to make the code more readable.

When running a [custom container service] via cephadm it is not possible
to set any arguments for the container entrypoint. You can only set
arguments for the docker/podman command itself and set environment
variables. This works well with `RADOSGW_SERVER`, etc. but does not allow
for the usage of private certificates on the RGW endpoint when using the
exporter this way.

This commit adds the option to set `SECURE=false` to ignore certificate
errors (which I need – unfortunately).

This also adjusts the arguments name to use "secure" as a name to make
the code more readable.

[custom container service]: https://docs.ceph.com/en/quincy/cephadm/services/custom-container/
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.

1 participant