OIDC fails with helm

Hi iam currently trying to integrate hue to our keycloak deployment.
Iam using the offical Helm from helm repo add gethue https://helm.gethue.com
Following changes has been done:

 # The client ID as relay party set in OpenID provider

    # The client secret as relay party set in OpenID provider

    # The OpenID provider authoriation endpoint

    # The OpenID provider token endpoint

    # The OpenID provider user info endpoint


But fails with
ModuleNotFoundError: No module named ‘mozilla_django_oidc’

Do i miss some configuration or is this package just missing in the image?

thanks for any pointer.

fixed it with a custom Dockerfile deriving from gethue/hue

from gethue/hue:latest

USER root
RUN chmod 777 -R /var/log
RUN pip3 install --upgrade pip

RUN pip3 install --isolated mozilla_django_oidc gevent greenlet==1.0.0 py4j gunicorn

for soime reason - i need to investigate - and need to reapply gunicorn…

Note: helm template does only allow to change registry and tag. ImageName must stay the same.

Yes, the pypy module mozilla_django_oidc is not in the default image.

Pip should list the reason why it un-installed gunicorn (usually there is an incompatibility of dependencies)

Docker source of the gethue/hue:latest is https://github.com/cloudera/hue/blob/master/tools/docker/hue/Dockerfile#L58

For helm, you are probably using the simplified one. The more advanced one is https://github.com/cloudera/hue/tree/master/tools/kubernetes/helm/hue

Thanks romain,yes forgot to mention: there was some versionconflict with greenlet – tried to pip to fixed version 0.4.17 but does work out (still stick to 0.4.15). Quick fix was to reapply gunicorn.