Skip to content

Commit

Permalink
docs: add note that tls metrics certs must be mounted into the pod
Browse files Browse the repository at this point in the history
Signed-off-by: Adam Talbot <adam.talbot@venafi.com>
  • Loading branch information
ThatsMrTalbot committed Jan 9, 2024
1 parent b1e8c99 commit f72d3aa
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions content/docs/devops-tips/prometheus-metrics.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit f72d3aa

Please sign in to comment.