docs: fix incorrect command for getting ingressroutetcp resources#1778
docs: fix incorrect command for getting ingressroutetcp resources#1778rooftopcellist merged 1 commit intoansible:develfrom
Conversation
| AWX Operator supports both API groups `traefik.io` and `traefik.containo.us` in `ingress_api_version` for Traefik, but it is recommended to use `traefik.io` since `traefik.containo.us` is deprecated in Traefik v2.10 and is removed in Traefik v3. Refer to [Traefik documentation](https://doc.traefik.io/traefik/migration/v2/#v210) for more information about deprecation. | ||
|
|
||
| If you can't see any IngressRouteTCP resources by `kubectl` command after deploying mesh ingress, you should fully qualify the resource name with API group, `kubectl get ingressroutetcp.traefik.io` or `kubectl get traefik.containo.us` for example. | ||
| If you can't see any IngressRouteTCP resources by `kubectl` command after deploying mesh ingress, you should fully qualify the resource name with API group, `kubectl get ingressroutetcp.traefik.io` or `kubectl get ingressroutetcp.traefik.containo.us` for example. |
There was a problem hiding this comment.
@kurokobo The example in the TraefikLabs docs seems to be:
ingressroutetcps.traefik.io
https://doc.traefik.io/traefik/routing/providers/kubernetes-crd/
I also see: ingressroutes.traefik.containo.us
But I don't see an example of ingressroutetcp.traefik.containo.us. Could you link to the docs for that?
There was a problem hiding this comment.
@rooftopcellist
Hi, thanks for your confirmation.
https://doc.traefik.io/traefik/routing/providers/kubernetes-crd/
This page contains both ingressroutetcps.traefik.io and ingressroutetcps.traefik.containo.us (search with plural form, ingressroutetcps... instead of ingressroutetcp...).
We can find actual CRDs here (since master branch is for 3.x and any containo.us had been removed, refer to the file in v2.x branch): https://github.com/traefik/traefik/blob/v2.11/docs/content/reference/dynamic-configuration/kubernetes-crd-definition-v1.yml
$ curl -s https://raw.githubusercontent.com/traefik/traefik/v2.11/docs/content/reference/dynamic-configuration/kubernetes-crd-definition-v1.yml | grep "name: ingressroutetcps"
name: ingressroutetcps.traefik.io
name: ingressroutetcps.traefik.containo.us
SUMMARY
Fix incorrect command that introduced by my past PR #1757 😞
ISSUE TYPE
ADDITIONAL INFORMATION