Diagnose warns if HTTPS is not used for ha-storage-tls-consul [VAULT-2773] (#11967)

* Diagnose warns if HTTPS is not used for ha-storage-tls-consul

* Skipping TLS verification if https is not used in ha storage tls consul

* Adding diagnose skip message for consul service registration
This commit is contained in:
hghaf099
2021-07-07 14:35:25 -04:00
committed by GitHub
parent 46428ad828
commit 0e49fc9d88
3 changed files with 13 additions and 5 deletions

View File

@@ -71,7 +71,7 @@ func TestOperatorDiagnoseCommand_Run(t *testing.T) {
},
{
Name: "test-storage-tls-consul",
Status: diagnose.OkStatus,
Status: diagnose.SkippedStatus,
},
{
Name: "test-consul-direct-access-storage",
@@ -85,7 +85,7 @@ func TestOperatorDiagnoseCommand_Run(t *testing.T) {
Children: []*diagnose.Result{
{
Name: "test-serviceregistration-tls-consul",
Status: diagnose.OkStatus,
Status: diagnose.SkippedStatus,
},
{
Name: "test-consul-direct-access-service-discovery",
@@ -121,7 +121,7 @@ func TestOperatorDiagnoseCommand_Run(t *testing.T) {
},
{
Name: "test-ha-storage-tls-consul",
Status: diagnose.OkStatus,
Status: diagnose.SkippedStatus,
},
},
},
@@ -278,7 +278,7 @@ func TestOperatorDiagnoseCommand_Run(t *testing.T) {
},
{
Name: "test-storage-tls-consul",
Status: diagnose.OkStatus,
Status: diagnose.SkippedStatus,
},
{
Name: "test-consul-direct-access-storage",
@@ -378,7 +378,7 @@ func TestOperatorDiagnoseCommand_Run(t *testing.T) {
},
{
Name: "test-storage-tls-consul",
Status: diagnose.OkStatus,
Status: diagnose.SkippedStatus,
},
{
Name: "test-consul-direct-access-storage",