You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently the flyte pod webhook, which is responsible for injecting secrets, creates a self signed cert with a 1 year expiration. This is problematic for long-running Flyte deployments because once the certificate expires all calls to the webhook will fail with "x509: certificate has expired or is not yet valid". As the failurePolicy on the mutating webhook configuration is set to Ignore by default this means that transparently secrets will stop getting injected - resulting in task failures.
Expected behavior
Secret injection should support a longer than 1 year lifetime.
Additional context to reproduce
Just have a really long running pod webhook deployment .. like really long ... and start to notice that secret injection doesn't work anymore.
Screenshots
No response
Are you sure this issue hasn't been raised already?
Yes
Have you read the Code of Conduct?
Yes
The text was updated successfully, but these errors were encountered:
@eapolinario the only real downside is the security implications of a long running cert. If it's a self signed cert we could probably just generate another one if it is expired?
@EngHabu it looks like you may have done the initial implementation. Was there any particular reason to choose 1 year expiration?
Describe the bug
Currently the flyte pod webhook, which is responsible for injecting secrets, creates a self signed cert with a 1 year expiration. This is problematic for long-running Flyte deployments because once the certificate expires all calls to the webhook will fail with "x509: certificate has expired or is not yet valid". As the
failurePolicy
on the mutating webhook configuration is set toIgnore
by default this means that transparently secrets will stop getting injected - resulting in task failures.Expected behavior
Secret injection should support a longer than 1 year lifetime.
Additional context to reproduce
Just have a really long running pod webhook deployment .. like really long ... and start to notice that secret injection doesn't work anymore.
Screenshots
No response
Are you sure this issue hasn't been raised already?
Have you read the Code of Conduct?
The text was updated successfully, but these errors were encountered: