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

Adds sync-gateway-api Make Target for Managing the Gateway API Version #10446

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

danehans
Copy link

@danehans danehans commented Dec 5, 2024

Adds the sync-gateway-crds Make target for managing Gateway API CRDs.

-projects/gateway2/crds/tcproute-crd.yaml: Removes comments that do not exist when downloading the TCPRoute CRD from upstream ($TCPROUTE_CRD_URL).

Fixes: #10445
BOT NOTES:
resolves #10445

@danehans danehans requested a review from jenshu December 5, 2024 17:55
@solo-changelog-bot
Copy link

Issues linked to changelog:
#10445

Copy link

github-actions bot commented Dec 5, 2024

Visit the preview URL for this PR (updated for commit a669ad3):

https://gloo-edge--pr10446-issue-10445-qzmnf8s0.web.app

(expires Mon, 23 Dec 2024 19:10:13 GMT)

🔥 via Firebase Hosting GitHub Action 🌎

Sign: 77c2b86e287749579b7ff9cadb81e099042ef677

Makefile Outdated Show resolved Hide resolved
ci/sync-gateway-crds.sh Outdated Show resolved Hide resolved
GATEWAY_CRD_URL="https://github.com/kubernetes-sigs/gateway-api/releases/download/${CONFORMANCE_VERSION}/${CONFORMANCE_CHANNEL}-install.yaml"
TCPROUTE_CRD_URL="https://raw.githubusercontent.com/kubernetes-sigs/gateway-api/refs/tags/${CONFORMANCE_VERSION}/config/crd/experimental/gateway.networking.k8s.io_tcproutes.yaml"

# Header to prepend to the TCPRoute CRD file
Copy link

Choose a reason for hiding this comment

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

why do we need to add this?

Copy link
Author

@danehans danehans Dec 9, 2024

Choose a reason for hiding this comment

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

To comply with Apache 2.0 licensing.

ci/sync-gateway-crds.sh Outdated Show resolved Hide resolved
@danehans danehans changed the title Adds sync-gateway-crds Make Target for Managing Gateway API CRDs Adds sync-gateway-api Make Target for Managing the Gateway API Version Dec 9, 2024
@danehans danehans changed the title Adds sync-gateway-api Make Target for Managing the Gateway API Version Adds sync-gateway-api Make Target for Managing the Gateway API Version Dec 9, 2024
@danehans danehans force-pushed the issue_10445 branch 2 times, most recently from ca3135c to 4110d13 Compare December 9, 2024 21:29
@danehans danehans requested a review from jenshu December 9, 2024 21:30
Makefile Outdated Show resolved Hide resolved
}

# Update k8sgateway_api_version in nightly-tests/max_versions.env
update_max_versions_env() {

Choose a reason for hiding this comment

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

Just thinking aloud -- do we need to handle the min_versions.env file as well? I don't think we've outlined any process around GW API version matrix that gloo supports (e.g. N-1), so automating that file could be premature.

Copy link
Author

Choose a reason for hiding this comment

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

I added #10495 to track the need for managing the minimum supported version.

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

Successfully merging this pull request may close these issues.

Automate Gateway API CRD Management
3 participants