-
Notifications
You must be signed in to change notification settings - Fork 4.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
Remove --credentials flags, stop generating router/registry client certs #10830
Conversation
[test] |
Do we have an ETA on when this will be cherry picked into OpenShift Enterprise 3.x? Then I'll attach CVE-2015-8945 to the errata in question and we can close this out. |
[test] |
I don't see any problems with this and our current installer code. |
} | ||
|
||
needServiceAccountRole := len(opts.Config.ServiceAccount) > 0 && len(opts.Config.Credentials) == 0 | ||
needServiceAccountRole := len(opts.Config.ServiceAccount) > 0 |
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.
Didn't you just make sure they specified it? this bool seems unnecessary.
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.
yes
} | ||
createServiceAccount := len(cfg.ServiceAccount) > 0 && len(cfg.Credentials) == 0 | ||
createServiceAccount := len(cfg.ServiceAccount) > 0 |
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.
always true?
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.
yes, removed
minor comments. lgtm otherwise. |
[merge] |
Evaluated for origin test up to 9a86874 |
continuous-integration/openshift-jenkins/test SUCCESS (https://ci.openshift.redhat.com/jenkins/job/test_pr_origin/13275/) (Base Commit: ed6d1ad) |
Evaluated for origin merge up to 9a86874 |
continuous-integration/openshift-jenkins/merge SUCCESS (https://ci.openshift.redhat.com/jenkins/job/test_pr_origin/13292/) (Base Commit: a32dda3) (Image: devenv-rhel7_5774) |
This is primarily to get the signature access docker/distribution API extension. To make it work, two updates to the test harness are necessary: - Change the expected output of (oadm policy add-cluster-role-to-group) - Don't expect (openshift start master) to create .kubeconfig files for the registry service. As of openshift/origin#10830 , openshift.local.config/master/openshift-registry.kubeconfig is no longer autogenerated. Instead, do what (oadm registry) does, creating a service account and a cluster policy role binding. Then manually create the necessary certificates and a .kubeconfig instead of using the service account in a pod.
Fixes #3951
doc in openshift/openshift-docs#3552
ansible hasn't used this since 3.2