kubernetes-sigs / ingress2gateway

Convert Ingress resources to Gateway API resources
Apache License 2.0
349 stars 54 forks source link

print all resources when reading from files #73

Open mlavacca opened 11 months ago

mlavacca commented 11 months ago

What would you like to be added: When thinking about how this tool would be used in a real environment, we can have a user willing to convert a set of yaml files that use ingress resources into the same set of yaml files using gateway resources. As of today, when the flag input_file is used, the tool gets only the ingress resources and prints the converted ones.

When a user has a yaml file containing ingress resources and other kinds of resources (deployment, services, ...), a simple one-liner could enable an immediate conversion to have a ready-to-use file.

For example, by performing an operation similar to the following:

./ingress2gateway print --input_file old_file.yaml -A --providers=kong --print-all-resources > new_file.yaml

a user can have a new yaml file ready-to-use.

mlavacca commented 11 months ago

@robscott @LiorLieberman I'd like to start working on it as soon as possible. Does it work for you?

LiorLieberman commented 11 months ago

sweet. Sounds good to me, thanks! /assign @mlavacca

k8s-triage-robot commented 7 months ago

The Kubernetes project currently lacks enough contributors to adequately respond to all issues.

This bot triages un-triaged issues according to the following rules:

You can:

Please send feedback to sig-contributor-experience at kubernetes/community.

/lifecycle stale

mlavacca commented 7 months ago

/remove-lifecycle stale

k8s-triage-robot commented 4 months ago

The Kubernetes project currently lacks enough contributors to adequately respond to all issues.

This bot triages un-triaged issues according to the following rules:

You can:

Please send feedback to sig-contributor-experience at kubernetes/community.

/lifecycle stale

mlavacca commented 4 months ago

/remove-lifecycle stale

k8s-triage-robot commented 1 month ago

The Kubernetes project currently lacks enough contributors to adequately respond to all issues.

This bot triages un-triaged issues according to the following rules:

You can:

Please send feedback to sig-contributor-experience at kubernetes/community.

/lifecycle stale

k8s-triage-robot commented 2 weeks ago

The Kubernetes project currently lacks enough active contributors to adequately respond to all issues.

This bot triages un-triaged issues according to the following rules:

You can:

Please send feedback to sig-contributor-experience at kubernetes/community.

/lifecycle rotten