Bug 1780982
| Summary: | Authentication and Authorization options are not exposed for OpenShift API server | ||
|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | Cesar Wong <cewong> |
| Component: | openshift-apiserver | Assignee: | Cesar Wong <cewong> |
| Status: | CLOSED ERRATA | QA Contact: | Xingxing Xia <xxia> |
| Severity: | medium | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 4.3.0 | CC: | aos-bugs, mfojtik |
| Target Milestone: | --- | ||
| Target Release: | 4.3.0 | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2020-01-23 11:18:15 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Cesar Wong
2019-12-09 01:39:45 UTC
Per above hint and https://github.com/openshift/openshift-apiserver/pull/54/files#diff-3f6215a8bff8638652a2886ff35d2b5bR88 `o.Authentication.AddFlags(flags)`, and openshift/openshift-apiserver/vendor/k8s.io/apiserver/pkg/server/options/{authentication,authorization}.go def of `AddFlags`, confirmed the verification in 4.3.0-0.nightly-2019-12-10-235659 by: oc rsh -n openshift-apiserver ds/apiserver sh-4.2# openshift-apiserver start --help Start an apiserver that contains the OpenShift resources ... Flags: --authentication-kubeconfig string kubeconfig file pointing at the 'core' kubernetes server with enough rights to create tokenaccessreviews.authentication.k8s.io. ... --authorization-kubeconfig string kubeconfig file pointing at the 'core' kubernetes server with enough rights to create subjectaccessreviews.authorization.k8s.io. Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2020:0062 |