Commit b0d099a
committed
agent: provide minimal install-config for runtime cert generation
The TLS refactor added InstallConfig as a dependency to signer
certificates for configurable PKI support. This broke the
`agent create certificates` command when run without an install-config,
as happens in `set-node-zero.sh` during UI-based agent installations.
Provide a minimal dummy install-config in set-node-zero.sh and the
tls_assets integration test to satisfy the dependency. The signer certs
don't use any cluster-specific data from the config — they only read
the PKI field which defaults to RSA-2048 when absent.
Assisted-by: Claude Code (Opus 4.6)1 parent 68341be commit b0d099a
2 files changed
Lines changed: 22 additions & 0 deletions
File tree
- cmd/openshift-install/testdata/agent/image/assets
- data/data/agent/files/usr/local/bin
Lines changed: 9 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
55 | 67 | | |
| 68 | + | |
56 | 69 | | |
57 | 70 | | |
58 | 71 | | |
| |||
0 commit comments