You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* v0.3.0 made the `--providers` print command required, however the README wasn't updated
* Updates the example print command to use --providers=ingress-nginx since at least one provider *must* be specified
* Removes the default option of providers in the table in the README since it no longer exists.
Copy file name to clipboardExpand all lines: README.md
+4-4Lines changed: 4 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -77,17 +77,17 @@ brew install ingress2gateway
77
77
78
78
Ingress2gateway reads Ingress resources and/or provider-specifc CRDs from a Kubernetes
79
79
cluster or a file. It will output the equivalent Gateway API resources in a YAML/JSON
80
-
format to stdout. To run ingress2gateway with default options simply run:
80
+
format to stdout. The simplest case is to convert all ingresses from one provider (in this example we use ingress-nginx):
81
81
82
82
```shell
83
-
./ingress2gateway print
83
+
./ingress2gateway print --providers=ingress-nginx
84
84
```
85
85
86
86
The above command will:
87
87
88
88
1. Read your Kube config file to extract the cluster credentials and the current
89
89
active namespace.
90
-
1. Search for ingresses and provider-specific resources in that namespace.
90
+
1. Search for ingress-nginx resources in that namespace.
91
91
1. Convert them to Gateway-API resources (Currently only Gateways and HTTPRoutes).
92
92
93
93
## Options
@@ -103,7 +103,7 @@ The above command will:
103
103
| openapi3-gateway-class-name || No | Provider-specific: openapi3. The name of the gateway class to use in the Gateways. |
104
104
| openapi3-gateway-tls-secret || No | Provider-specific: openapi3. The name of the secret for the TLS certificate references in the Gateways. |
105
105
| output | yaml | No | The output format, either yaml or json. |
106
-
| providers |all supported providers| Yes | Comma-separated list of providers. |
106
+
| providers || Yes | Comma-separated list of providers. |
107
107
| kubeconfig || No | The kubeconfig file to use when talking to the cluster. If the flag is not set, a set of standard locations can be searched for an existing kubeconfig file. |
0 commit comments