-
Notifications
You must be signed in to change notification settings - Fork 594
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
Added ability to specify LDAP CA cert #157
Conversation
648aa55
to
be7ed35
Compare
💪 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks excellent, minor comment inline (non-blocker)
Also - for consistency, do we want to follow the same pattern the other secret are following.
If ldap_cacert_secret
is specified then use it, else try loading <resourcename>-ldap-cacert
if it exists, else do nothing.
If we go with the above, https://github.com/ansible/awx-operator/blob/devel/roles/finalizer/tasks/main.yml#L25 needs to be updated also to provide consistency with this new secret.
This is mainly comment, not a formal request of changes, if it is preferred to have that on a following PR (or not at all) we can still proceed with this.
@Spredzy PR updated. I tested the changes with 2 deployments (with and without LDAP certificate) and worked like a charm. I just did not include the removal piece as the |
Fixes: #117
Introduces the ability to specify an LDAP Certificate Authority
Should we create a dedicated link on how to create the secret with ldap.cert contents?
Testing
awx
kind