tchiotludo / akhq

Kafka GUI for Apache Kafka to manage topics, topics data, consumers group, schema registry, connect and more...
https://akhq.io/
Apache License 2.0
3.37k stars 653 forks source link

Tag to use LDAP login #436

Closed gerardgorrion closed 3 years ago

gerardgorrion commented 4 years ago

Hi all,

We want to upgrade our 0.1.2 chart version of AKHQ to use LDAP connection because on 0.1.2 is not allowed to use LDAP (all pages that we try to access after login not load, only login page).

image

We are changed the chart version on chart.yaml:

apiVersion: v1
appVersion: "1.0"
description: Kafka GUI for Apache Kafka to manage topics, topics data, consumers group, schema registry, connect and more...
name: akhq
version: 0.1.3
keywords:
  - kafka
  - confluent
  - gui
home: https://akhq.io
icon: https://raw.githubusercontent.com/tchiotludo/akhq/master/client/src/images/logo_black.png
sources:
  - https://github.com/tchiotludo/akhq
maintainers:
  - name: tchiotludo
    email: hello@akhq.io

What chart version can we use to use LDAP access? Thanks

tchiotludo commented 4 years ago

The charts version you must use is the last one but there is no change on LDAP between charts. It must be configuration issue.

My advice use the dev image on your values:

image:
  tag: dev

and follow the the README.md, we have changed the way login works on last version and you must have a desync between README and version

gerardgorrion commented 4 years ago
  Normal   Pulling    30s (x3 over 74s)  kubelet, ip-x.x.x.x.zone.compute.internal  Pulling image "tchiotludo/akhq:dev"
  Warning  Failed     29s (x3 over 73s)  kubelet, ip-x.x.x.x.zone.compute.internal  Failed to pull image "tchiotludo/akhq:dev": rpc error: code = Unknown desc = error pulling image configuration: unknown blob
  Warning  Failed     29s (x3 over 73s)  kubelet, ip-x.x.x.x.zone.compute.internal  Error: ErrImagePull
  Normal   BackOff    4s (x4 over 72s)   kubelet, ip-x.x.x.x.zone.compute.internal  Back-off pulling image "tchiotludo/akhq:dev"
  Warning  Failed     4s (x4 over 72s)   kubelet, ip-x.x.x.x.zone.compute.internal  Error: ImagePullBackOff
gerardgorrion commented 4 years ago

I use:

helm repo add akhq https://akhq.io/

image version values.yaml:

image:
  repository: tchiotludo/akhq
  tag: dev

Chart.yaml:

name: akhq
version: 0.1.3

Current version latest 0.1.2, upgrade launch:

helm upgrade kafkahq-release-name . -f values.yaml 
tchiotludo commented 4 years ago
$ docker pull tchiotludo/akhq:dev
dev: Pulling from tchiotludo/akhq
Digest: sha256:9ab95c8e0b8e7936d9b6d398bdbbab9bb1afe7cdd9c7d7b181f060fdca9a54cf
Status: Image is up to date for tchiotludo/akhq:dev
docker.io/tchiotludo/akhq:dev

To be honest, I don't see any reason ... It work with latest ?

gerardgorrion commented 4 years ago

yep, we use latest tag in current pod in production and try to upgrade with latest and work fine, when i change to dev, fails. We will investigate about this.

Thanks!

gerardgorrion commented 4 years ago

Something is wrong, we already have a "dev" local image, but when try to update today:

REPOSITORY               TAG                 IMAGE ID            CREATED             SIZE
tchiotludo/akhq          dev                 463fbde06f66        5 days ago          245MB
C:\Users\myuser\akhq\helm\akhq>docker pull tchiotludo/akhq:dev
dev: Pulling from tchiotludo/akhq
d121f8d1c412: Already exists
75deccc0fc24: Already exists
690f480f5f48: Already exists
b20f9556d3e0: Already exists
58e78f9cbd17: Pulling fs layer
d1a5a3169ab1: Pulling fs layer
error pulling image configuration: unknown blob
gerardgorrion commented 4 years ago

We use latest dev image downloaded, but dev version is not able to pull yet.

tchiotludo commented 4 years ago

see https://github.com/tchiotludo/akhq/issues/438, can you try ?

tchiotludo commented 3 years ago

confirm is working here: https://github.com/tchiotludo/akhq/issues/438