-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Bug 157608, Removed filename key and value #9138
Conversation
@cevich PTAL. Is this change for 3.10 only, or should it also be applied to 3.9? Thanks! |
@ahardin-rh IDK 😞 I only tested 3.10, not sure when that option was removed. @sdodson ? |
@jianlinliu Please provide a QE review |
@@ -1936,7 +1936,7 @@ openshift_deployment_type=origin | |||
endif::[] | |||
|
|||
# uncomment the following to enable htpasswd authentication; defaults to DenyAllPasswordIdentityProvider | |||
#openshift_master_identity_providers=[{'name': 'htpasswd_auth', 'login': 'true', 'challenge': 'true', 'kind': 'HTPasswdPasswordIdentityProvider', 'filename': '/etc/origin/master/htpasswd'}] | |||
#openshift_master_identity_providers=[{'name': 'htpasswd_auth', 'login': 'true', 'challenge': 'true', 'kind': 'HTPasswdPasswordIdentityProvider', '/etc/origin/master/htpasswd'}] | |||
|
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.
This is a JSON key, so the value's gotta be clobbered as well:
#openshift_master_identity_providers=[{'name': 'htpasswd_auth', 'login': 'true', 'challenge': 'true', 'kind': 'HTPasswdPasswordIdentityProvider'}]
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.
same fore below.
@@ -1936,7 +1936,7 @@ openshift_deployment_type=origin | |||
endif::[] | |||
|
|||
# uncomment the following to enable htpasswd authentication; defaults to DenyAllPasswordIdentityProvider | |||
#openshift_master_identity_providers=[{'name': 'htpasswd_auth', 'login': 'true', 'challenge': 'true', 'kind': 'HTPasswdPasswordIdentityProvider', 'filename': '/etc/origin/master/htpasswd'}] | |||
#openshift_master_identity_providers=[{'name': 'htpasswd_auth', 'login': 'true', 'challenge': 'true', 'kind': 'HTPasswdPasswordIdentityProvider', '/etc/origin/master/htpasswd'}] |
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.
Remove string '/etc/origin/master/htpasswd'
The path is hard-coded now.
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.
Ya, that's what I was trying to say also 😄
@michaelgugino off-hand, do you know when that value was hard-coded? Was it for 3.9 also? |
c0e11f2
to
2c3a5a3
Compare
@cevich @michaelgugino Thanks! I think I got them all now 🍻 |
LGTM (FWIW) |
Looks like this is for 3.10+ https://bugzilla.redhat.com/show_bug.cgi?id=1576088#c4 |
nvm...question answered. It's 3.10 and beyond only. |
2c3a5a3
to
86f0d74
Compare
QE approved in the BZ; no peer review needed |
/cherrypick enterprise-3.10 |
@ahardin-rh: new pull request created: #9212 In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
https://bugzilla.redhat.com/show_bug.cgi?id=1576088