stackabletech / docker-images

Apache License 2.0
15 stars 2 forks source link

feat: Add log processing script to opa for decision logging #695

Closed xeniape closed 1 month ago

xeniape commented 2 months ago

Description

Part of https://github.com/stackabletech/opa-operator/issues/422

This PR adds the script which is used in the opa start command set by the opa-operator to filter incoming logs by log level and route logs to the correct output (file or console).

Definition of Done Checklist

- [x] Changes are OpenShift compatible
- [x] All added packages (via microdnf or otherwise) have a comment on why they are added
- [x] Add an entry to the CHANGELOG.md file
- [x] Integration tests ran successfully https://ci.stackable.tech/view/02%20Operator%20Tests%20(custom)/job/opa-operator-it-custom/96/
TIP: Running integration tests with a new product image The image can be built and uploaded to the kind cluster with the following commands: ```shell bake --product --image-version kind load docker-image --name= ``` See the output of `bake` to retrieve the image tag for ``.