Skip to content
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

Support for specifying parameters to the api server #203

Closed
ivansoban opened this issue Jul 25, 2016 · 3 comments
Closed

Support for specifying parameters to the api server #203

ivansoban opened this issue Jul 25, 2016 · 3 comments
Milestone

Comments

@ivansoban
Copy link

In order to specify the authorization mode for a Kubernetes master, the --authorization-mode command line parameter needs to be able to be set via kops edit cluster or some similar method.

@justinsb justinsb modified the milestone: 1.3.0 Jul 29, 2016
@justinsb justinsb modified the milestones: 1.3.1, 1.3.0 Aug 15, 2016
@chrislovecnm
Copy link
Contributor

@justinsb / @ivansoban is this still open?

@zapman449
Copy link

@chrislovecnm would an approach like #618 (comment) allow you to specify the arguments needed?

This ignores how to actually retrieve the --authorization-policy-file (presumably from KOPS_STATE_STORE)... but that's probably solvable.

@justinsb justinsb modified the milestones: 1.5.0, 1.5 Dec 28, 2016
@justinsb
Copy link
Member

We actually have now mapped the authorization-mode flag.

You can set it like this (IIRC) in kops edit cluster, if you are using kops 1.5.0 beta1 or above:

...
spec:
  kubeAPIServer:
    authorizationMode: rbac

We still hope / intend to create a full example or drop-in for auth, particularly with rbac leaving alpha in 1.6, but in the meantime we are exposing the flags so kops is not the blocker any more!

Closing, but do comment/reopen (or open a new issue) if this doesn't work for you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants