Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Kibana not accessible via Ingress #172630

Closed
pomland-94 opened this issue Dec 5, 2023 · 1 comment
Closed

Kibana not accessible via Ingress #172630

pomland-94 opened this issue Dec 5, 2023 · 1 comment
Labels
bug Fixes for quality problems that affect the customer experience needs-team Issues missing a team label

Comments

@pomland-94
Copy link

Kibana version:
Kibana-8.10.4 (Bitnami Helm Chart)

Elasticsearch version:
Elastisearch 8.11.1 (Bitnami Helm Chart)

Server OS version:
Debian-12.2 Bookworm / Kubernetes-1.27.7

Browser version:
Safari-17.1.2 / Chrome-119.0.6045.199

Browser OS version:

MacOS Sonoma 14.1.2

Original install method (e.g. download page, yum, from source, etc.):

Helm Chart (Bitnami)
https://github.com/bitnami/charts/tree/main/bitnami/kibana
https://github.com/bitnami/charts/tree/main/bitnami/elasticsearch

Describe the bug:

When I try to login to Kibana and I enter my credentials and click on login it loads and send me Back to the login screen (Loop), when I open UP the Developer Tools inside my Browser I get the following error:

Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'self'". Either the 'unsafe-inline' keyword, a hash ('sha256-P5polb1UreUSOe5V/Pv7tc+yeZuJXiOi/3fqhGsU7BE='), or a nonce ('nonce-...') is required to enable inline execution.

Steps to reproduce:

  1. helm install --namespace elasticsearch elasticsearch bitnami/kibana -f values.yaml
  2. I use the following Values.yaml file for my Deployment:
kibana:
  replicaCount: 3
  extraConfiguration:
    "server.publicBaseUrl": "https://kibana-dashboard.domain.tld"
    "xpack.security.sameSiteCookies": None
    "telemetry.allowChangingOptInStatus": false
    "telemetry.optIn": false
  persistence:
    enabled: true
    storageClass: "rook-cephfs"
    accessModes:
      - ReadWriteMany
    size: 10Gi
  ingress:
    enabled: true
    hostname: kibana-dashboard.domain.tld
    annotations:
      cert-manager.io/cluster-issuer: default-clusterissuer
      cert-manager.io/private-key-algorithm: "RSA"
      cert-manager.io/private-key-size: "4096"
      kubernetes.io/tls-acme: "true"
      nginx.ingress.kubernetes.io/proxy-ssl-verify: "false"
      nginx.ingress.kubernetes.io/backend-protocol: "HTTPS"
    tls: true
    selfSigned: false
    ingressClassName: "nginx"
  containerSecurityContext:
    enabled: true
    runAsUser: 1001
    runAsNonRoot: true
    privileged: false
    readOnlyRootFilesystem: false
    allowPrivilegeEscalation: false
    capabilities:
      drop: ["ALL"]
    seccompProfile:
      type: "RuntimeDefault"
  metrics:
    enabled: true
    containerSecurityContext:
      enabled: true
      runAsUser: 1001
      runAsNonRoot: true
      privileged: false
      readOnlyRootFilesystem: false
      allowPrivilegeEscalation: false
      capabilities:
        drop: ["ALL"]
      seccompProfile:
        type: "RuntimeDefault"
    serviceMonitor:
      enabled: false
  tls:
    enabled: true
    autoGenerated: true
  elasticsearch:
    hosts:
      - '{{ include "elasticsearch.service.name" . }}'
    port: '{{ include "elasticsearch.service.ports.restAPI" . }}'
    security:
      auth:
        enabled: true
        kibanaPassword: "PASSWORD"
        createSystemUser: true
        elasticsearchPasswordSecret: "elasticsearch"
      tls:
        enabled: true
        existingSecret: "elasticsearch-coordinating-crt"
        usePemCerts: true 
@pomland-94 pomland-94 added the bug Fixes for quality problems that affect the customer experience label Dec 5, 2023
@botelastic botelastic bot added the needs-team Issues missing a team label label Dec 5, 2023
@jsanz
Copy link
Member

jsanz commented Dec 12, 2023

Hi, thanks for reporting, but this should be forwarded to the Helm chart maintainers unless there's a more specific behavior to share.

The reported browser error has nothing to do with your issue.

Alternatively, you may want to open a topic in our discussion forum so maybe other users of that Helm chart may be able to assist you.

https://discuss.elastic.co/

@jsanz jsanz closed this as not planned Won't fix, can't repro, duplicate, stale Dec 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Fixes for quality problems that affect the customer experience needs-team Issues missing a team label
Projects
None yet
Development

No branches or pull requests

2 participants