Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions docs/adr/adr_0009.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ SPDX-License-Identifier: Apache-2.0

| <!-- --> | <!-- --> |
|----------------|----------|
| **Status**: | PROPOSED |
| **Status**: | ACCEPTED |
| **Date**: | 2021-10-07 |
| **Author(s)**: | Max Maass <max.maass@iteratec.com>, Jannik Hollenbach <Jannik.Hollenbach@iteratec.com> |

Expand Down Expand Up @@ -229,13 +229,13 @@ Finally, we can also abstract away the details of the Kubernetes volume definiti

## Decision

To be determined.
We decided to utilize the built-in `initContainer` functionality of Kubernetes and expose it through the ScanTypes, combined with the existing syntax for volume management. Information on how to use the feature will be added to the documentation to explain how common operations (Git clone, etc.) can be performed, for people who do not have experience with Kubernetes init containers.

## Consequences

To be determined.
The possibility of using init containers adds a large number of new possible features to the secureCodeBox, and lays the groundwork for adding new types of scanners. We will gather experience with how the feature is used, and may come back to the architecture and make changes if a simpler interface is desired.

[initc]: (https://kubernetes.io/docs/concepts/workloads/pods/init-containers/)
[initcvolumes]: (https://kubernetes.io/docs/concepts/workloads/pods/init-containers/)
[initcvolumes]: (https://kubernetes.io/docs/tasks/configure-pod-container/configure-pod-initialization/#create-a-pod-that-has-an-init-container)
[gitleaks]: (https://docs.securecodebox.io/docs/scanners/gitleaks)
[semgrep]: (https://github.com/returntocorp/semgrep)