Symptom
Production Helm releases for a DI&A microservice failed when the Helm release secret exceeded Kubernetes’ approximate 1 MiB secret-size limit. Until that size came back under control, Production shipping on that chart was blocked.
Constraints
- Only CaaS has kubectl — decrypting and inspecting the secret required partnering with them, not freelancing cluster access.
- Banking Production change hygiene still applied: understand the system, restore the path, then make sure the same packing pattern cannot recurse.
Investigation
Worked with CaaS to inspect the secret contents. The pipeline was packing a large certificate folder into the release, plus hundreds of JavaScript files living in the Helm chart rather than in the container image. Multiple certificate references were also inflating the same secret instead of pointing at one consolidated CA file.
Root shape: chart + pipeline packaging choices → secret bytes → hard Kubernetes limit → Production unblock. Not an app logic bug — a delivery artifact problem.
Fix
- Cleaned the oversized certificate folder out of what the release was carrying.
- Had development move hundreds of JavaScript files into the image so they stopped riding along in the chart/secret path.
- Recommended a single consolidated CA file instead of multiple certificate references that kept growing the same secret.
Result
Production Helm releases unblocked; secret size brought back under control. The same investigation pattern — partner where access is gated, measure what the secret actually contains, then shrink at the source — is the reusable part.
Prevention takeaway
Treat Helm release-secret size as a delivery health signal: keep bulky assets in the image, keep CA material consolidated, and do not let chart packaging silently become a Production gate. Peer-reviewed Production changes still matter after the unblock — so the next chart does not reintroduce the same bytes.
← back to selected work