Skip to content

Roll tiled pods on ConfigMap change - #20

Merged
ZohebShaikh merged 9 commits into
mainfrom
auto-roll-deployments
Oct 20, 2026
Merged

ZohebShaikh merged 9 commits into
mainfrom
auto-roll-deployments

Conversation

@ZohebShaikh

Copy link
Copy Markdown
Contributor

Adds rollOnConfigChange (default true). When it's on, the tiled pod template gets a checksum/config annotation holding a hash of the ConfigMap, so helm upgrade restarts the pods whenever the config changes. See Automatically Roll Deployments.

Set it to false to leave the pods running when the config changes.

#11 (envoy) is stacked on top of this. Replaces #18.

🤖 Generated with Claude Code

ZohebShaikh and others added 8 commits October 14, 2026 13:15
Add rollOnConfigChange (default true) to put a checksum of the ConfigMap
in the pod annotations, per
https://helm.sh/docs/howto/charts_tips_and_tricks/#automatically-roll-deployments

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Ported from DiamondLightSource/diamond-tiled#2. The Kyverno cluster policy
disallows regex ingress paths, so "/" routes to an envoy Service that
matches beamline names in the path and forwards to each beamline's own
tiled Service and Deployment.

Paths move from helm/tiled to Charts/tiled. The TILED_SINGLE_USER_API_KEY
env var is kept, as optional, rather than removed.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01CCtPFejfd3WP589miPqaL3
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…only

Every beamline pod now uses the catalog at TILED_CATALOG_URI, from the
tiled-secrets secret, and mounts all of /dls read only rather than a
beamline specific path. Access to each beamline's data is still limited
by its supplementalGroups.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Envoy forwards the path unchanged, so the beamline is the first node
under the tree's root rather than the tree's mount point.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Add envoy proxy for per-beamline ingress routing
@ZohebShaikh
ZohebShaikh merged commit 2807385 into main Oct 20, 2026
3 checks passed
@codecov

codecov Bot commented Oct 20, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 95.62%. Comparing base (4762413) to head (a657ee9).
⚠️ Report is 64 commits behind head on main.

Additional details and impacted files
@@             Coverage Diff             @@
##             main      #20       +/-   ##
===========================================
+ Coverage   61.64%   95.62%   +33.97%     
===========================================
  Files           3        5        +2     
  Lines         219      822      +603     
===========================================
+ Hits          135      786      +651     
+ Misses         84       36       -48     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

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.

2 participants