bottlerocket-os / bottlerocket

An operating system designed for hosting containers
https://bottlerocket.dev
Other
8.78k stars 519 forks source link

Oci hooks settings extension #3978

Closed mgsharm closed 5 months ago

mgsharm commented 5 months ago

Issue number:

Closes #3659

Description of changes:

Testing done:

> cargo run proto1 set --setting-version v1 --value '{"log4j-hotpatch-enabled":true}'
   Compiling settings-extension-oci-hooks v0.1.0 (/Users/mgsharm/bottlerocket/bottlerocket/sources/settings-extensions/oci-hooks)
    Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.09s
     Running `/Users/mgsharm/bottlerocket/bottlerocket/sources/target/debug/settings-extension-oci-hooks proto1 set --setting-version v1 --value '{"log4j-hotpatch-enabled":true}'`

Terms of contribution:

By submitting this pull request, I agree that this contribution is dual-licensed under the terms of both the Apache License, version 2.0, and the MIT license.