-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* add tls command-line arguments To enable tls, we need to gather a few things from the environment: - the TLS key - the TLS certificate We also want to be able to disable TLS and listen on http. To enable this, add three options to the command-line: -cert-path string Path to TLS certificate store. -enable-tls Toggle tls enablement (default true) -key-path string Path to TLS private key. Signed-off-by: Andy Sadler <[email protected]> * disable tls in testing deployments We enable TLS by default, but we don't want to enable it during testing for debugging purposes. Signed-off-by: Andy Sadler <[email protected]> --------- Signed-off-by: Andy Sadler <[email protected]> Co-authored-by: Francesco Ilario <[email protected]>
- Loading branch information
Showing
3 changed files
with
58 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters