Skip to content
This repository was archived by the owner on Jan 11, 2023. It is now read-only.

Move some AAD args out of the static list #2528

Merged
merged 2 commits into from
Mar 26, 2018

Conversation

sylr
Copy link
Contributor

@sylr sylr commented Mar 26, 2018

Which issue this PR fixes : fixes #2527

@sylr sylr force-pushed the apiserver-args branch 2 times, most recently from 42766df to 8f4c7ca Compare March 26, 2018 15:23
There are no reasons we should not use user defined values for:

  --oidc-username-claim
  --oidc-group-claim

Signed-off-by: Sylvain Rabot <[email protected]>
@sylr sylr changed the title Remove counter-productive failsafe Move some AAD args out of the static list Mar 26, 2018
@ghost ghost assigned jackfrancis Mar 26, 2018
@ghost ghost added the in progress label Mar 26, 2018
@jackfrancis
Copy link
Member

Thanks for this @sylr. To explain the reasoning behind the initial implementation:

When making these configuration interfaces (kubelet, apiserver, controller-manager, etc) user-configurable and generally, our approach is conservative in terms of exposing something for user-override. Essentially, we default to "static" (i.e. non-user-overridable), and then as use-cases arise for overridable config (such as yours w/ OID user/group claim ids) we evolve the code appropriately.

Copy link
Member

@jackfrancis jackfrancis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@jackfrancis jackfrancis merged commit 9751705 into Azure:master Mar 26, 2018
@ghost ghost removed the in progress label Mar 26, 2018
@sylr sylr deleted the apiserver-args branch March 30, 2018 08:51
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Custom user defined apiserver args overriden
2 participants