Skip to content

TLS to ldap seems to be enforced in the chart #235

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

Open
flixman opened this issue Mar 20, 2025 · 4 comments
Open

TLS to ldap seems to be enforced in the chart #235

flixman opened this issue Mar 20, 2025 · 4 comments
Labels
wontfix This will not be worked on

Comments

@flixman
Copy link

flixman commented Mar 20, 2025

Describe the bug
I am trying to get phpldapadmin to communicate without TLS to openldap. With a clean installation of the chart, the custom value for the variable PHPLDAPADMIN_LDAP_HOSTS is ignored.

To Reproduce
Install the helm chart with the following custom values:

phpldapadmin:
  enabled: true
  ingress: 
    enabled: true
    hosts:
      - phpldapadmin.test.local
  env:
    PHPLDAPADMIN_LDAP_HOSTS: "#PYTHON2BASH:[{ 'openldap.openldap'  : [{'server': [{'tls': False},{'port':389}]},{'login': [{'bind_id': 'cn=openldap,dc=test,dc=local}]}]}]"

Expected behavior
The config map for phpldapadmin is updated with the correct value.

@jp-gouin
Copy link
Owner

Hi @flixman ,
Yes it is enforced and cannot be overwritten. -> https://github.com/jp-gouin/helm-openldap/blob/master/charts/phpldapadmin/templates/configmap.yaml

You can submit a PR if you want 😀

@flixman
Copy link
Author

flixman commented Mar 29, 2025

well... the first question is: is this something that should be supported? I am learning about helm, kubernetes, etc., and I find being able to disable TLS interesting because then I can sniff the network and understand what's going on... however, I do not know if this is something desired or not. Maybe this could be just added to the README?

@jp-gouin
Copy link
Owner

For a production environment no but for a testing scenario , why not

Copy link

stale bot commented May 28, 2025

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the wontfix This will not be worked on label May 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

2 participants