Commit 4e15f69
committed
fix(skills-init): install openssh-client so ssh-keyscan is available
the skills-init image runs ssh-keyscan to populate ~/.ssh/known_hosts when
an agent uses ssh-based git auth (gitAuthSecretRef -> kubernetes.io/ssh-auth).
the alpine base only had git, so the binary was missing and the init container
exited with 'ssh-keyscan: not found' under set -e, leaving the agent pod in
crashloopbackoff.
add openssh-client to the apk install list and verify ssh-keyscan resolves at
build time so the same regression cannot ship silently again.
closes #1770
Signed-off-by: SarthakB11 <sarthak.bhardwaj21b@iiitg.ac.in>1 parent 2a5210f commit 4e15f69
1 file changed
Lines changed: 7 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
20 | | - | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
21 | 27 | | |
22 | 28 | | |
23 | 29 | | |
| |||
0 commit comments