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

Generated link to Kubernetes API is wrong #36

Open
wmuizelaar opened this issue Nov 28, 2022 · 0 comments
Open

Generated link to Kubernetes API is wrong #36

wmuizelaar opened this issue Nov 28, 2022 · 0 comments

Comments

@wmuizelaar
Copy link

Hi,

I'm rendering an API resource with the following piece in it:

	RoleRef rbacv1.RoleRef `json:"roleRef"`

which references to upstream's Role Reference as used in the ClusterRoleBinding resource. That all works pretty neat, except for 1 detail:

the generated page creates this deeplink:

__link:https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.25/#roleref-v1-rbac[$$RoleRef$$]__

Where it actually should have linked to this URL:

__link:https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.25/#roleref-v1-rbac-authorization-k8s-io[$$RoleRef$$]__

So the anchor in there is actually the fully qualified API name, in stead of the short one.

Am I doing something wrong here, or is this a bug in the tool?

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

No branches or pull requests

1 participant