Rickard Karlberg
Rickard Karlberg
Are you using the same secret across projects?
Sharing secrets across projects stopped working in 2.12.
I think I have a similar problem. I have a Helm chart that generates two secrets for a service account - one for the current month (March in this case)...
``` time="2025-03-01T08:09:59Z" level=info msg="received unary call /application.ApplicationService/ManagedResources" grpc.method=ManagedResources grpc.request.claims="{\"aud\":\"3f0f5300-4718-467b-b704-ae286474fdd8\",\"email\":\"[email protected]\",\"exp\":1740819807,\"iat\":1740815907,\"iss\":\"https://login.microsoftonline.com/xxxxx1/v2.0\",\"name\":\"Rickard\",\"nbf\":1740815907,\"oid\":\"6f547bb2-41bc-49df-a083-4311600148e6\",\"preferred_username\":\"[email protected]\",\"rh\":\"1.ATEA6QkzPSo0mEGOLQGlQuP_IQBTDz8YR3tGtwSuKGR0_djjAOUxAA.\",\"sid\":\"240cc4ca-78c4-43f9-9493-cdd737571a1f\",\"sub\":\"SD96OghN0i8SNaOzdmzPFhXBi7HKjlNHSt9CZwlE-hY\",\"tid\":\"xxxxx1\",\"uti\":\"BXUQsaebhkWWqfA1iZAwAA\",\"ver\":\"2.0\",\"wids\":[\"b79fbf4d-3ef9-4689-8143-76b194e85509\"]}" grpc.request.content="applicationName:\"vb-tools\" namespace:\"vb-tools\" name:\"conduit-token-2025-02\" kind:\"Secret\" appNamespace:\"argocd\" " grpc.service=application.ApplicationService grpc.start_time="2025-03-01T08:09:59Z" span.kind=server system=grpc time="2025-03-01T08:10:00Z" level=info msg="finished unary call with code OK" grpc.code=OK grpc.method=ManagedResources grpc.service=application.ApplicationService...
From a helm chart perspective it looks like this. ```yaml {{- /* Conduit token for the current month. */}} {{- define "currentMonth" -}} {{printf "%d-%02d" now.Year (now.Month | int)}} {{-...
After manually deleting the ServiceAcccount itself, I'm seeing the expected result.
Hm I'm suspecting it has to do with the secret being tied to a service account. https://stackoverflow.com/a/54356251
We hit the same regression on 5.6.3 (OSS image, Ingress + externalAuth Policy with authSigninURI, oauth2-proxy v7.15 behind the auth_request). Unauthenticated requests get a 500 with `auth request unexpected status:...
Please fix cli, much needed.