Add option to start https listener 02/85002/1
authorKiran Kamineni <kiran.k.kamineni@intel.com>
Thu, 11 Apr 2019 04:53:45 +0000 (21:53 -0700)
committerKiran Kamineni <kiran.k.kamineni@intel.com>
Thu, 11 Apr 2019 05:00:55 +0000 (22:00 -0700)
commit905a39c8011295ee4b290681f0fda6ca753b7ae3
tree4785df8b773b3083082c6abafb12e81cefaa291f
parent932322113184862b906f4b82fe83cfcf3403d021
Add option to start https listener

Added support for tls connection for k8splugin.
It will load the certificates from its current folder.
Any installer needs to just put these files in the same
folder as the executable and it will pick them up and start
in https mode.

Issue-ID: MULTICLOUD-570
Change-Id: I505135daa3933b76023c941e7bee54be65fa791f
Signed-off-by: Kiran Kamineni <kiran.k.kamineni@intel.com>
src/k8splugin/cmd/main.go
src/k8splugin/go.mod
src/k8splugin/internal/auth/auth.go [new file with mode: 0644]
src/k8splugin/internal/auth/auth_test.go [new file with mode: 0644]
src/k8splugin/mock_files/mock_certs/auth_test_certificate.pem [new file with mode: 0644]
src/k8splugin/mock_files/mock_certs/auth_test_key.pem [new file with mode: 0644]