Skip to content

chart: drop pidfile workaround; bump to 0.2.0#1

Merged
Bierchermuesli merged 1 commit into
mainfrom
chart/drop-pidfile-workaround
May 5, 2026
Merged

chart: drop pidfile workaround; bump to 0.2.0#1
Bierchermuesli merged 1 commit into
mainfrom
chart/drop-pidfile-workaround

Conversation

@Bierchermuesli

@Bierchermuesli Bierchermuesli commented Apr 30, 2026

Copy link
Copy Markdown
Contributor

Removes the netdisco.pidfileInitContainer helper and the corresponding emptyDir + subPath mount on /home/netdisco/netdisco-backend.pid.

netdisco/netdisco-docker#114 adds chgrp -R 0 /home/netdisco && chmod -R g=u /home/netdisco to the base image, which lets any UID with supplemental gid 0 (i.e. every OpenShift pod) write inside /home/netdisco. Once that lands and is published, the chart no longer needs any of the workaround. Issue described in #113

Bumps chart version to 0.2.0

Test plan

  • Validate Helm Chart workflow passes (ct lint, helm template, kubeconform)
  • Release Helm Chart workflow on main produces netdisco-0.2.0.tgz and updates gh-pages
  • After merge of image: make it OpenShift friendly for arbitrary UID netdisco-docker#114 and a netdisco-docker release: end-to-end test on OpenShift confirms web + backend start under random UID with no chart workaround

Removes the pidfile initContainer + emptyDir + subPath mount that
worked around netdisco-docker's read-only /home/netdisco. With
netdisco/netdisco-docker#114 (chgrp 0 + chmod g=u on /home/netdisco)
that workaround is no longer needed and was only ever a partial fix
anyway: it covered netdisco-backend.pid but not netdisco-web.pid.
@Bierchermuesli Bierchermuesli merged commit e94f055 into main May 5, 2026
1 check passed
@Bierchermuesli Bierchermuesli mentioned this pull request May 5, 2026
2 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant