DescriptionVadim Rutkovsky
2018-09-26 09:15:38 UTC
Describe the issue:
Identity provider handling have been updated in master/3.11/3.10 in openshift-ansible.
Previously 'ca'/'clientCA' fields were optional and used host trust store CA instead.
After the move to static pods, API server container trust store is being used, so changes to host trust store are not reflected. This required user to choose the path of CA bundle and ensure it would be mounted in the API server container correctly.
After https://github.com/openshift/openshift-ansible/pull/9803 was merged (since openshift-ansible-3.10.42-1, openshift-ansible-3.11.0-0.25.0 and openshift-ansible-4.0.0-0.1.0) the behaviour has changed:
* if openshift_master_ldap_ca/openshift_master_ldap_ca_file is specified, the contents of the file would be placed to /etc/origin/master/<ldap identity provider name>_ldap_ca.crt on the host and mounted in the API container
* if these vars are unset the host is expected to have this file created
* 'ca' field for this identity provider would be automatically set to /etc/origin/master/<ldap identity provider name>_ldap_ca.crt
* if 'insecure' option is used in LDAP provider 'ca' would not be set
* there is no option to change the path to this file
This applies to LDAP, OpenID and RequestHeader identity providers and allows specifying several identity providers and ensure specified CA is always mounted on API server container correctly.
Comment 5Kathryn Alexander
2018-11-30 16:42:14 UTC
Comment 6Kathryn Alexander
2018-11-30 18:49:37 UTC
I made some updates per Vadim.
Xiaoli Tian, will you please suggest the right reviewer? Based on my discussion with Mo, I don't think that Chuan Yu should review this one.
Comment 7openshift-github-bot
2018-12-03 14:28:01 UTC