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

feat: add documentation for using TLS on the metric endpoint #1376

Merged
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
docs: add note that tls metrics certs must be mounted into the pod
Signed-off-by: Adam Talbot <adam.talbot@venafi.com>
ThatsMrTalbot committed Jan 9, 2024
commit f72d3aa9437558c543f8a6695eb42c6c798cda96
2 changes: 2 additions & 0 deletions content/docs/devops-tips/prometheus-metrics.md
Original file line number Diff line number Diff line change
@@ -74,6 +74,8 @@ Static certificates can be provided to the cert-manager controller to use when l

Static certificates can be specified via the flags `--metrics-tls-cert-file` and `--metrics-tls-private-key-file` or the corresponding config file parameters `metricsTLSConfig.filesystem.certFile` and `metricsTLSConfig.filesystem.keyFile`.

The certificate and private key must be mounted into the controller pod for this to work, if cert-manager is deployed using helm the `.volumes[]` and `.mounts[]` properties can facilitate this.

An example config file would be:

```yaml