mirror of
https://github.com/optim-enterprises-bv/vault.git
synced 2025-11-02 03:27:54 +00:00
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:
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user