acoustic-carpenter-78188
10/29/2023, 12:06 AMclient_secret in flyte-secret-auth until it is restarted. So if you change client_secret after propeller has been deployed, it fails to process any workflow and will log errors like this:
E1220 16:10:36.391892 1 workers.go:102] error syncing 'mandant1-development/f3359d6b5cd941830000': Workflow[] failed. ErrorRecordingError: failed to publish event, caused by: EventSinkError: Error sending event, caused by [rpc error: code = Unauthenticated desc = token parse error [JWT_VERIFICATION_FAILED] Could not retrieve id token from metadata, caused by: rpc error: code = Unauthenticated desc = Request unauthenticated with IDToken]
Expected behavior
if client_secret in flyte-secret-auth is changed, propeller (possibly also flytescheduler) should detect the changes, reload and use the new secret.
Additional context to reproduce
1. Deploy flyte with auth enabled but without setting client_secret (defaults to foobar)
2. Change client_secret in flyte_secret_auth to a valid secret
3. Flytepropeller will still try to use the default secret until you restart it
Screenshots
No response
Are you sure this issue hasn't been raised already?
☑︎ Yes
Have you read the Code of Conduct?
☑︎ Yes
flyteorg/flyteacoustic-carpenter-78188
10/29/2023, 12:06 AMacoustic-carpenter-78188
11/02/2023, 8:37 PM