zalando / zalando/postgres-operator
The UI container does not have the tzdata package.
Open
Nobody has claimed this yet.
- Dominant language
- Go
- Stars
- 5.2k
- Forks
- 1.1k
- Avg merge
- 2d 16h
- Merged PRs (30d)
- 3
Description
- image: registry.opensource.zalan.do/acid/postgres-operator-ui:v1.10.1
- run in: Bare Metal K8s
- No. We haven't launched it into production yet, but we want to do it.
- The tzdata package is not installed in the image and the TZ env does not work.
The time in the interface is displayed in UTC and the time cannot be changed because the container does not have the tzdata package.
$ kubectl -n zalando-postgres-operator-ui exec -t -i operator-ui-postgres-operator-ui-df4785544-252wj -- /bin/bash
bash-5.1# env | grep TZ
TZ=Europe/Moscow
bash-5.1# date
Mon Nov 27 15:08:21 UTC 2023
bash-5.1# apk add tzdata
fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz
fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz
(1/1) Installing tzdata (2023c-r0)
Executing busybox-1.34.1-r7.trigger
OK: 361 MiB in 77 packages
bash-5.1# date
Mon Nov 27 18:08:35 MSK 2023
bash-5.1#
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
The report identifies the postgres-operator-ui:v1.10.1 image and provides a kubectl exec reproduction, but no repository file or image-build entry point. Start by locating the build definition for that UI image and reproduce the TZ/date behavior; done means the image includes timezone data and TZ=Europe/Moscow is reflected by the container's date output.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- docker, kubernetes
- Domain
- devops, infrastructure
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100