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
The Helm chart produces a type mismatch error when deploying the worker component due to an incompatible comparison between a float and an integer in the deployment-worker.yaml template. The issue arises in the following logic:
When the result of mulf 2.0 is a float and .Values.worker.terminationGracePeriodSeconds is an integer, the gt function fails because it cannot compare different types.
Steps to Reproduce
Configure worker.gracefulShutdown.gracePeriodSeconds via helm command
Error: template: /charts/trino/templates/deployment-worker.yaml:111:58: executing "/charts/trino/templates/deployment-worker.yaml" at <gt
(mulf 2.0 .Values.worker.gracefulShutdown.gracePeriodSeconds) .Values.worker.terminationGracePeriodSeconds>: error calling gt: incompatible
types for comparison
Expected Behavior
The comparison should work without error, ensuring compatibility between worker.gracefulShutdown.gracePeriodSeconds and worker.terminationGracePeriodSeconds.
The text was updated successfully, but these errors were encountered:
Description
The Helm chart produces a type mismatch error when deploying the
worker
component due to an incompatible comparison between a float and an integer in thedeployment-worker.yaml
template. The issue arises in the following logic:<gt (mulf 2.0 .Values.worker.gracefulShutdown.gracePeriodSeconds) .Values.worker.terminationGracePeriodSeconds>
When the result of
mulf 2.0
is a float and.Values.worker.terminationGracePeriodSeconds
is an integer, thegt
function fails because it cannot compare different types.Steps to Reproduce
worker.gracefulShutdown.gracePeriodSeconds
via helm commandExpected Behavior
The comparison should work without error, ensuring compatibility between
worker.gracefulShutdown.gracePeriodSeconds
andworker.terminationGracePeriodSeconds
.The text was updated successfully, but these errors were encountered: