Hey folks, I was wondering if anyone else experien...
# general
c
Hey folks, I was wondering if anyone else experienced this same rancher bug on version
2.10.1
. It seems that if I navigate to
.../v3/projectroletemplatebindings
and click on a hyperlink to a principal (i.e.
groupPrincipalId": "github_<team://XXXXXXX>"
) I get a broken URL path
.../v3/principals/github_team%253A/XXXXXXX
that returns a 500 error. But if I go to
.../v3/principals/github_team:%2F%2FXXXXXX
I get the correct information. Any ideas? Im seeing an error in the Rancherv2 terraform module for the
rancher2_project_role_template_binding
resource and I think it is related. Slack Conversation
c
What are you using that has that url-style
github_<team://xx>
string as the principle ID? I suspect that these were expected to mostly contain simple LDAP-style DNs -
CN=MyTeam,OU=Sales,DC=Fabrikam,DC=com
or the like
c
@creamy-pencil-82913 I have a GitHub auth config for my rancher instance that I use for rbac
This image is one of my projectroletemplatebindings from the v3 api
The relative link to a user principal lands me at a 500 error page, where it looks like the user URL has been double encoded
But if I navigate directly to the user, they exist
Screenshot 2025-05-20 at 4.46.12 PM.png
Which I believe is related to this TF provider error for the rancherv2 provider. Which is the actual answer to your question (Sorry for the spam 🙏)
Screenshot 2025-05-20 at 4.54.35 PM.png
c
you might open an issue in rancher/rancher, I suspect the url generation for that resource was not designed with that sort of content in mind
c