diff --git a/debug/ubuntu.yml b/debug/ubuntu.yml new file mode 100644 index 0000000000000000000000000000000000000000..1ab14b8c4c563a99b8b7a7eb22d0735386990204 --- /dev/null +++ b/debug/ubuntu.yml @@ -0,0 +1,16 @@ +apiVersion: v1 +kind: Pod +metadata: + namespace: wazuh + name: ubuntu + labels: + app: ubuntu +spec: + containers: + - image: ubuntu + command: + - "sleep" + - "604800" + imagePullPolicy: IfNotPresent + name: ubuntu + restartPolicy: Always diff --git a/wazuh/indexer_stack/wazuh-dashboard/dashboard-ingress.yaml b/wazuh/indexer_stack/wazuh-dashboard/dashboard-ingress.yaml index b9e344a9dc234ebcbaad6ba31b0fb92214f083db..6a28d897f9a8ba5a49eb7854bb884d38ecc30081 100644 --- a/wazuh/indexer_stack/wazuh-dashboard/dashboard-ingress.yaml +++ b/wazuh/indexer_stack/wazuh-dashboard/dashboard-ingress.yaml @@ -37,7 +37,6 @@ spec: pathType: Prefix backend: service: - name: wazuh-dashboard + name: dashboard port: - name: dashboard-https - + name: dashboard-http diff --git a/wazuh/indexer_stack/wazuh-dashboard/dashboard-svc.yaml b/wazuh/indexer_stack/wazuh-dashboard/dashboard-svc.yaml index 73137992d1f2426d9ceb15c3bbfe20305662e86e..b9dacad7414e185e89a1da6f87627c8d26f0c0f9 100644 --- a/wazuh/indexer_stack/wazuh-dashboard/dashboard-svc.yaml +++ b/wazuh/indexer_stack/wazuh-dashboard/dashboard-svc.yaml @@ -18,6 +18,6 @@ spec: selector: app: wazuh-dashboard ports: - - name: dashboard + - name: dashboard-http port: 80 targetPort: 5601 diff --git a/wazuh/indexer_stack/wazuh-dashboard/dashboard_conf/opensearch_dashboards.yml b/wazuh/indexer_stack/wazuh-dashboard/dashboard_conf/opensearch_dashboards.yml index 86ab25cf82967327d6c774ecd38fda73626b76dd..0361f23c8d65847ec51d855f29fccc24f8ad737c 100644 --- a/wazuh/indexer_stack/wazuh-dashboard/dashboard_conf/opensearch_dashboards.yml +++ b/wazuh/indexer_stack/wazuh-dashboard/dashboard_conf/opensearch_dashboards.yml @@ -1,13 +1,13 @@ - server.host: 0.0.0.0 server.port: 5601 opensearch.hosts: https://indexer:9200 opensearch.ssl.verificationMode: none -opensearch.requestHeadersWhitelist: [ authorization,securitytenant ] +opensearch.requestHeadersWhitelist: [authorization, securitytenant] opensearch_security.multitenancy.enabled: false opensearch_security.readonly_mode.roles: ["kibana_read_only"] -server.ssl.enabled: true +server.ssl.enabled: false server.ssl.key: "/usr/share/wazuh-dashboard/config/certs/key.pem" server.ssl.certificate: "/usr/share/wazuh-dashboard/config/certs/cert.pem" -opensearch.ssl.certificateAuthorities: ["/usr/share/wazuh-dashboard/config/certs/root-ca.pem"] -uiSettings.overrides.defaultRoute: /app/wazuh \ No newline at end of file +opensearch.ssl.certificateAuthorities: + ["/usr/share/wazuh-dashboard/config/certs/root-ca.pem"] +uiSettings.overrides.defaultRoute: /app/wazuh