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

Vip controller and CRD #3

Merged
merged 4 commits into from
Jul 23, 2021
Merged

Vip controller and CRD #3

merged 4 commits into from
Jul 23, 2021

Conversation

mandydydy
Copy link
Contributor

@mandydydy mandydydy commented Jul 22, 2021

  • Create vip api, webhook, CRD, and controller

webhook validates

  • vip address format and length(alpha supports 1 address per vip)

  • the label "trench" must be defined in a vip

  • the label "trench" is not allowed to change in an update

  • Move configmap handling from trench controller to vip controller

  • Update vip status to "accepted" if vip information is added to its corresponding configmap, and "rejected" if it fails the validation

add vip api type and webhook
move configmap handling to vip controller
Refactor the shared functions to a "common" module
remove vip entry in trench CRD
validate overlaping of vips in a namespace
api/v1alpha1/trench_types.go Show resolved Hide resolved
@mandydydy mandydydy merged commit 54116ad into master Jul 23, 2021
@mandydydy mandydydy deleted the vip-controller branch July 23, 2021 08:43
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.

None yet

2 participants