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

simplify admission controller setup even more #509

Merged
merged 1 commit into from
May 5, 2021
Merged

Conversation

clux
Copy link
Member

@clux clux commented May 5, 2021

  • structure example code to focuse on the user flow
  • take advantage of new ResourceExt trait to simplify the DynamicObject interaction
  • omit example dry_run (only applicable if the controller has side-effects)

It also changes the spec of AdmissionRequest to make two UserInfo and Operation mandatory because they are not marked as +optional in the kubernetes/api for either version:

- structure code to focuse on the user flow
- omit dry-run (only applicable the controllers has side-effects)
@clux clux force-pushed the admission-cleanup2 branch from d94d17b to 7aa6dfb Compare May 5, 2021 21:09
@clux clux merged commit d5813bd into master May 5, 2021
@clux clux deleted the admission-cleanup2 branch May 5, 2021 21:09
@clux clux mentioned this pull request May 15, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant