Skip to content

Commit

Permalink
bugfix: use CF_EXPORTER_WEB_TLS_CERTFILE envvar for web.tls.cert_file…
Browse files Browse the repository at this point in the history
… flag
  • Loading branch information
psycofdj committed Mar 7, 2023
1 parent 84d748e commit d1fb4bb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ var (

tlsCertFile = kingpin.Flag(
"web.tls.cert_file", "Path to a file that contains the TLS certificate (PEM format). If the certificate is signed by a certificate authority, the file should be the concatenation of the server's certificate, any intermediates, and the CA's certificate ($CF_EXPORTER_WEB_TLS_CERTFILE)",
).Envar("CF_EXPORTER_WEB_TLS_KEYFILE").ExistingFile()
).Envar("CF_EXPORTER_WEB_TLS_CERTFILE").ExistingFile()

tlsKeyFile = kingpin.Flag(
"web.tls.key_file", "Path to a file that contains the TLS private key (PEM format) ($CF_EXPORTER_WEB_TLS_KEYFILE)",
Expand Down

0 comments on commit d1fb4bb

Please sign in to comment.