enix / helm-charts

A collection of Helm packages brought to you by Enix Monkeys :monkey_face:
https://charts.enix.io
Apache License 2.0
56 stars 19 forks source link

[netbox] LDAP does not work anymore with 1.2.9 #40

Closed mscbpi closed 3 years ago

mscbpi commented 4 years ago

A working LDAP configuration with Active Directory does not work anymore when upgrading to 1.2.9

Rollback to 1.2.8 and it works again.

mscbpi commented 4 years ago

docker image v2.9-*-ldap has a miss : https://github.com/netbox-community/netbox-docker/issues/324

it does not include necessary configuration in configuration.py.

REMOTE_AUTH_ENABLED="true"
REMOTE_AUTH_BACKEND="netbox.authentication.LDAPBackend"
AUTH_USER_MODEL="auth.User"

workaround: create a ConfigMap and mount it as extraVolumeMounts in values.yaml.

extraVolumes: 
 - name: netbox-test-config 
   configMap:
    defaultMode: 420
    name: netbox-test-config

extraVolumeMounts: 
 -  name: netbox-test-config
    mountPath: /etc/netbox/config/configuration.py
    subPath: configuration.py
mscbpi commented 4 years ago

https://github.com/netbox-community/netbox-docker/releases v0.26 of netbox image addresses this issue.

mscbpi commented 3 years ago

netbox helm chart not maintained anymore ? looking at your home README ... https://github.com/enix/helm-charts#charts-collection :(

Zempashi commented 3 years ago

Hi, sorry for the delay.

netbox-docker v1.0 changed a lot the structure of chart, and we were lacking time to address that change. (Not as quick as originaly though it would be). So we are considering deprecating this chart in favor of https://github.com/bootc/netbox-chart If you see some show-stopper using the bootc's chart, let us know.

mscbpi commented 3 years ago

Hi,

We have migrated to https://github.com/bootc/netbox-chart

Thanks for the support until now ;)

Wouldn't it be worth to suggest this K8s deployment into netbox-community ? They do maintain docker image but stick to docker-compose for deployment, which is a bit outdated nowadays.