Misconfigured oidc secret is difficult to identify and causes gloo to not start #10067
Labels
Area: Stability
Issues related to stability of the product, engineering, tech debt
Type: Bug
Something isn't working
zendesk
Gloo Edge Product
Enterprise
Gloo Edge Version
v1.16.9
Kubernetes Version
v1.27.0
Describe the bug
Having a misconfigured oidc secret may cause the gloo pods to not come up. It prints an error that it fails to unmarshall a secret, but doesn't provide details on which secret is the problematic one.
Current error message looks like:
Example of the misconfiguration:
wrong secret value:
oauth: clientSecret:<SECRET_VALUE>
correct secret value:
oauth: 'clientSecret: <SECRET_VALUE>'
Expected Behavior
I expect gloo to come up, but the authconfig to be in ERROR state stating that it's secret could not be unmarshalled. Also the error message in gloo pod should be specific about which secret is causing the issue.
Steps to reproduce the bug
Misconfigure a secret and restart gloo pod
Additional Environment Detail
No response
Additional Context
No response
The text was updated successfully, but these errors were encountered: