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
I deployed the operator in my local cluster for testing, When I use the timespan with any time zone like Australia/Sydney, the operator printed the following error:
annotation: failed to parse relative timespan: failed to parse timezone:
unknown time zone Australia/Sydney" workload=demo-deploy
namespace=xxx
Problem to solve
Further details
Proposal
There are two options to solve it:
add _ "time/tzdata" in the main.go
Or change the docker image by adding the following line:
FROM scratch
COPY --from=builder /usr/local/go/lib/time/zoneinfo.zip /zoneinfo.zip
ENV ZONEINFO=/zoneinfo.zip
Who can address the issue
Other links/references
The text was updated successfully, but these errors were encountered:
Hey @weixcloud, sorry for the delayed response, I am currently on vacation. Thanks for finding this issue. I will have a look at this and release a new version of the downscaler once its fixed.
Issue
I deployed the operator in my local cluster for testing, When I use the timespan with any time zone like Australia/Sydney, the operator printed the following error:
Problem to solve
Further details
Proposal
There are two options to solve it:
add _ "time/tzdata"
in the main.goWho can address the issue
Other links/references
The text was updated successfully, but these errors were encountered: