Commit 014c85b
committed
fix(cpex): roll rebuilt images on
make deploy rebuilds + kind-loads the local :dev images, but a Deployment
whose pod template is unchanged won't roll on its own (imagePullPolicy:
Never, no spec diff), so a code-only rebuild kept running the previous
image until a manual 'kubectl rollout restart'.
deploy now: waits for Keycloak to settle first, then 'rollout restart's the
two locally-built workloads (hr-mcp; hr-cpex-agent, which carries the agent
+ authbridge-cpex sidecar) so a rebuild always lands. Keycloak is left alone
(upstream pinned image; restarting it regenerates realm keys and re-triggers
the stale-JWKS / cpex.auth_unknown_kid race the settle-wait guards against).
Verified: 'make deploy' then 'make scenarios' (no manual rollout) -> 9/9,
0 auth_unknown_kid.
Signed-off-by: Frederico Araujo <frederico.araujo@ibm.com>make deploy (same-tag :dev footgun)1 parent 8898128 commit 014c85b
1 file changed
Lines changed: 18 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
116 | 116 | | |
117 | 117 | | |
118 | 118 | | |
119 | | - | |
120 | | - | |
121 | | - | |
122 | | - | |
123 | | - | |
124 | | - | |
125 | | - | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
126 | 137 | | |
127 | 138 | | |
128 | 139 | | |
| |||
0 commit comments