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

Add starting implementation of Gateway API v1alpha2 #900

Merged
merged 4 commits into from
Feb 13, 2022

Conversation

jcmoraisjr
Copy link
Owner

@jcmoraisjr jcmoraisjr commented Feb 9, 2022

Adds the new version of the spec alongside with v1alpha1, so users of the former version have a less harder way to migrate - this won't happen automatically.

Todo list:

  • Update dependency to 0.4.0+
  • Prepare the code base to support more than one gateway api version at the same time
  • Add watching the custom resources by default, silently disabling the watch if CRDs are not found
  • Add v1alpha2 listers and informers
  • Implement v1alpha2 (partial)
  • Unit tests
  • Exploratory tests
  • Docs

Renaming all Gateway API related identifiers to a distinct name that
does not collide with the new version. This will allow us to process
both v1alpha1 and v1alpha2 in the same controller, helping users to
migrate from these two incompatible CRDs.

In addition only listers and informers being used were maintained:
gatewayclass, gateway and httproute.

This is only an internal refactor, there is no change in the behavior.
@jcmoraisjr jcmoraisjr merged commit 0dde900 into master Feb 13, 2022
@jcmoraisjr jcmoraisjr deleted the jm-gateway-v1alpha2 branch February 13, 2022 13:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant