Skip to content

Commit

Permalink
host-ctr: added host certs to host containers
Browse files Browse the repository at this point in the history
Co-authored-by: Patrick J.P. Culp <[email protected]>
  • Loading branch information
sumukhballal and jpculp committed Nov 27, 2024
1 parent 2a673d6 commit c7bdede
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions sources/host-ctr/cmd/host-ctr/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -851,6 +851,12 @@ func withDefaultMounts(containerID string, persistentDir string) oci.SpecOpts {
Destination: "/etc/bottlerocket-release",
Source: "/etc/os-release",
},
// Bottlerocket host certs for the container
{
Options: []string{"bind", "ro"},
Destination: "/.bottlerocket/certs",
Source: "/etc/pki/tls/certs",
},
// Bottlerocket RPM inventory available to the container
{
Options: []string{"bind", "ro"},
Expand Down

0 comments on commit c7bdede

Please sign in to comment.