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

prints gateway api resources converted from edge #10577

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

Conversation

nmnellis
Copy link

Description

This CLI command converts Gloo Edge input yaml files to Gateway API. It can either read an individual file or a directory and all its subdirectories.

Only looks for .yaml and .yml files. If it cannot convert the file it just prints it as is.

To Build

go build -o glooctl -ldflags "-X google.golang.org/protobuf/reflect/protoregistry.conflictPolicy=ignore" github.com/solo-io/gloo/projects/gloo/cli/cmd
  • Read single file
./glooctl gateway-api convert --input-file /Users/nick/my/gloo/config.yaml
  • Read all yaml files in a directory
./glooctl gateway-api convert --dir /Users/nick/my/gloo/

nmnellis and others added 30 commits October 22, 2024 08:25
Copy link

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

https://gloo-edge--pr10577-gateway-api-cli-zl84pi5t.web.app

(expires Fri, 24 Jan 2025 14:17:18 GMT)

🔥 via Firebase Hosting GitHub Action 🌎

Sign: 77c2b86e287749579b7ff9cadb81e099042ef677

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.

1 participant