fix: resolve ServiceAccount race condition in deployment apply by Flo4604 · Pull Request #5309 · unkeyed/unkey
19 tasks
Create the Secret and ServiceAccount before the ReplicaSet so they exist by the time pods are scheduled. Patch ownerReferences onto them after the RS is created so K8s still garbage-collects them. This prevents "serviceaccount not found" errors without needing the replicas=0 workaround.
Flo4604
changed the base branch from
feat/track-container-exits
to
graphite-base/5309
Flo4604
changed the base branch from
graphite-base/5309
to
main
Flo4604
marked this pull request as ready for review
Flo4604
deleted the
fix/sa-race-condition
branch
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters