apisix-ingress-controller icon indicating copy to clipboard operation
apisix-ingress-controller copied to clipboard

bug: ingress controller logs default to UTC+8

Open acuteaura opened this issue 2 years ago • 3 comments

The Dockerfile currently explicitly sets the localtime to Hong Kong, which is a very opinionated default and should likely be configured via ConfigMap injected into the container if needed. Support could also be added to the Helm chart.

There is also mention of a seperate docker build with a slimmer base container in some commits relating to the Dockerfile. Does this exist, is it planned or did it exist in the past?

I'm happy to contribute an alpine/distroless/wolfi-based image if needed.

acuteaura avatar Aug 25 '23 13:08 acuteaura

You can pass TZ env to configure it.

tao12345666333 avatar Aug 26 '23 14:08 tao12345666333

Welcome PR a distroless based image. Thanks

tao12345666333 avatar Aug 26 '23 14:08 tao12345666333

Can we support distroless based image recently? my team will need it, or maybe I can contribute too.

yuweizzz avatar Oct 16 '23 12:10 yuweizzz

@yuweizzz can we close this now?

shreemaan-abhishek avatar Apr 10 '24 05:04 shreemaan-abhishek

yes, it's already finished.

yuweizzz avatar Apr 10 '24 08:04 yuweizzz