From b0a769e06a587e249a80c9f2d1978751afb2b511 Mon Sep 17 00:00:00 2001 From: Michael Russell Date: Thu, 20 Jun 2019 17:47:30 +0200 Subject: [PATCH] Test kibana directly on 0.0.0.0 instead of checking the port --- kibana/examples/default/test/goss.yaml | 10 ++-------- kibana/examples/security/security.yml | 6 ------ kibana/examples/security/test/goss.yaml | 2 +- 3 files changed, 3 insertions(+), 15 deletions(-) diff --git a/kibana/examples/default/test/goss.yaml b/kibana/examples/default/test/goss.yaml index 9c36edb4d..5480fc54e 100644 --- a/kibana/examples/default/test/goss.yaml +++ b/kibana/examples/default/test/goss.yaml @@ -1,20 +1,14 @@ http: - http://localhost:5601/api/status: + http://0.0.0.0:5601/api/status: status: 200 timeout: 2000 body: - '"number":"7.1.1"' - http://localhost:5601/app/kibana: + http://0.0.0.0:5601/app/kibana: status: 200 timeout: 2000 http://helm-kibana-default-kibana:5601/app/kibana: status: 200 timeout: 2000 - -port: - tcp:5601: - listening: true - ip: - - '0.0.0.0' diff --git a/kibana/examples/security/security.yml b/kibana/examples/security/security.yml index 9ce3bccc5..3517ed8e3 100644 --- a/kibana/examples/security/security.yml +++ b/kibana/examples/security/security.yml @@ -34,9 +34,3 @@ secretMounts: - name: kibana-certificates secretName: kibana-certificates path: /usr/share/kibana/config/certs/kibana - -port: - tcp:5601: - listening: true - ip: - - '0.0.0.0' diff --git a/kibana/examples/security/test/goss.yaml b/kibana/examples/security/test/goss.yaml index 51b3ce214..6ac68a8c2 100644 --- a/kibana/examples/security/test/goss.yaml +++ b/kibana/examples/security/test/goss.yaml @@ -1,5 +1,5 @@ http: - https://localhost:5601/app/kibana: + https://0.0.0.0:5601/app/kibana: status: 200 timeout: 2000 allow-insecure: true