Skip to content
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

Allow to disable port on services. #155

Merged
merged 5 commits into from
May 21, 2024

Conversation

guillomep
Copy link
Contributor

What this PR does / why we need it:

When using service as load balancer, if we setup ldap to be on secure port only we don't want to expose the insecure port. Currently there is no way to do that.

With this modification, users can enable or disable exposition of insecure or secure port on the service.

Default values keep the current behaviour.

Pre-submission checklist:

  • Did you explain what problem does this PR solve? Or what new features have been added?
  • Have you updated the readme?
  • Is this PR backward compatible? If it is not backward compatible, please discuss open a ticket first

@jp-gouin
Copy link
Owner

jp-gouin commented Apr 6, 2024

Can you add a test where you disable the ldap port and test the replication (writing a entry and reading it) ? You can check on existing tests

When using service as load balancer, if we setup ldap to be on secure
port only we don't want to expose the insecure port.
Currently there is no way to do that.

With this modification, users can enable or disable exposition of
insecure or secure port on the service.

Default values keep the current behaviour.

Signed-off-by: Guillaume Perrin <guillaume28.perrin@gmail.com>
@guillomep guillomep force-pushed the allow_disable_port_svc branch 4 times, most recently from 4fe8524 to 585668d Compare April 19, 2024 11:34
Signed-off-by: Guillaume Perrin <guillaume28.perrin@gmail.com>
Signed-off-by: Guillaume Perrin <guillaume28.perrin@gmail.com>
Signed-off-by: Guillaume Perrin <guillaume28.perrin@gmail.com>
Signed-off-by: Guillaume Perrin <guillaume28.perrin@gmail.com>
@guillomep
Copy link
Contributor Author

@jp-gouin Okay I think I manage to create tests

Is that okay for you ?

@jp-gouin jp-gouin merged commit ff5348b into jp-gouin:master May 21, 2024
1 check passed
@guillomep guillomep deleted the allow_disable_port_svc branch May 21, 2024 07:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants