Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Include tzdb package in RKE2 core images #7331

Open
brandond opened this issue Nov 22, 2024 · 0 comments
Open

Include tzdb package in RKE2 core images #7331

brandond opened this issue Nov 22, 2024 · 0 comments
Assignees
Labels
kind/enhancement An improvement to existing functionality

Comments

@brandond
Copy link
Member

Is your feature request related to a problem? Please describe.

Currently, users who want to use zone names in the TZ env var have to mount /usr/share/zoneinfo into the Kubernetes pods. We should include tzdb in the images so that this is not necessary.

Ref: #2192

Describe the solution you'd like

tzdb files are available to Kubernetes pods

Describe alternatives you've considered

  • Mount /usr/share/zoneinfo into all the static pods whenever setting TZ
    kube-apiserver-extra-mount:
      - "/usr/share/zoneinfo:/usr/share/zoneinfo:ro:Directory"
    kube-apiserver-extra-env:
      - "TZ=Europe/Madrid"
  • Have RKE2 just always mount /usr/share/zoneinfo into the static pods

Additional context

@brandond brandond added this to the Backlog milestone Nov 22, 2024
@brandond brandond added the kind/enhancement An improvement to existing functionality label Nov 22, 2024
@brandond brandond self-assigned this Dec 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/enhancement An improvement to existing functionality
Projects
None yet
Development

No branches or pull requests

1 participant