Cannot login to the Kibaba with the username and the password from the Secret file

Hi,
if possible- I have a question:
this is my Elasticsearch:

apiVersion: elasticsearch.k8s.elastic.co/v1
kind: Elasticsearch
metadata:
  name: jhsearch
spec:
  version: 7.6.2
  auth:
    fileRealm:
    - secretName: jhsecret
  nodeSets:
  - name: default
    count: 1
    config:
      node.master: true
      node.data: true
      node.ingest: true
      node.store.allow_mmap: false

this is my Kibaba:

apiVersion: kibana.k8s.elastic.co/v1
kind: Kibana
metadata:
  name: jhkb
spec:
  version: 7.6.2
  count: 1
  elasticsearchRef:
    name: jhsearch
  http:
    service:
        spec:
            type: LoadBalancer

and this is my Secret:

apiVersion: v1
kind: Secret
metadata:
  name: jhsecret
type: kubernetes.io/basic-auth
stringData:
  username: dXNlcm5hbWUM 
  password: chjFGVApm0K

when I tried login to the kibaba by the external ip-
the username and the password was unknown,
If anyone knows the reason - will help me a lot.
Thanks,
Frida

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.