Commit 17e5bdb
refactor: Consolidate CA trust setup into import-additional-cas
Merge trust-root-ca into import-additional-cas to align with how
stackrox/stackrox handles CA trust (single script, single
update-ca-trust call). This eliminates a redundant update-ca-trust
invocation and simplifies the entrypoint.
Changes:
- Add copy_single() to import-additional-cas for the StackRox root CA
at /run/secrets/stackrox.io/certs/ca.pem
- Remove trust-root-ca script and its references in entrypoint.sh
and create-bundle.sh
- update-ca-trust extract --output is now called once instead of twice
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent f48b1c7 commit 17e5bdb
File tree
4 files changed
+3
-18
lines changed- image/scanner
- rhel
- scripts
4 files changed
+3
-18
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
44 | | - | |
45 | 44 | | |
46 | 45 | | |
47 | 46 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
8 | 7 | | |
9 | 8 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
25 | 28 | | |
26 | 29 | | |
27 | 30 | | |
| |||
This file was deleted.
0 commit comments